Hello All,
I want on my page to force user to save all data before leaving page.
I have used Radprompt with window.onbeforeunload but it will give me two pop-ups one from IE and Other from RadPrompt.
I want only window from RadPrompt.
Can anybody help me for the issue.
Sample code as :
Thanks in advc.
I want on my page to force user to save all data before leaving page.
I have used Radprompt with window.onbeforeunload but it will give me two pop-ups one from IE and Other from RadPrompt.
I want only window from RadPrompt.
Can anybody help me for the issue.
Sample code as :
<script type="text/javascript">
var needToConfirm = true;
window.onbeforeunload = confirmExit;
function confirmExit() {
var ss;
if (needToConfirm)
{
ss= radalert(
'Save personal information', 350, 150, 'MY Message', null, null);
}
}
Thanks in advc.