Hi,
I am getting following error If I use any control inside RadAjaxPanel that causes autopostback (such as changing RadComboBox selection), once after seeing the confirmation from "OnBeforeUnload" event and opts to Stay on the page.
Exception: screen:sys.webforms.pagerequestmanagerparsererrorexception
I am using following code for onBeforeUnload event handling:
window.onbeforeunload = function(e)
{
if (IsDirty() == true)
{
var ev = e || window.event;
ev.returnValue = "Are you sure?";
return "Are you sure?";
}
}
Reference url: http://www.telerik.com/forums/isdirty---ajax-dirty-panel
Please help me into this issue.
thanks!
Ankit