Hi all,
I am using Ajax.dll
.I have registered the class using
Ajax.Utility.RegisterTypeForAjax(typeof(Default))
in page load.
I have written a function in the server side to return "Name",like
[Ajax.AjaxMethod(HttpSessionStateRequirement.ReadWrite)]
public string GetName()
{
return "Test";
}
and i accessed from the page like
Default.GetName()
.
For first time its working fine.after leaving system idle for one hour if click any link, that throws error "default is undefined ".
Is there anyway to fix this issue?