ZenMethod in onunloadHandler
I want to call ZenMethod when page is closing. Is it possible?
I tried
{
zenPage.SomeZenMethod();
}
Method SomeZenMethod() [ ZenMethod ]
{
// to do some work
}
but it is not working
I want to call ZenMethod when page is closing. Is it possible?
I tried
{
zenPage.SomeZenMethod();
}
Method SomeZenMethod() [ ZenMethod ]
{
// to do some work
}
but it is not working
Synchronous and Asynchronous Methods