Rank: Member Groups: Member
Joined: 3/19/2015 Posts: 10
|
Hi, I am recieving a javascript message which is "you haven't finished your post yet, Do you want to leave without finishing ? ". I do not wanna see this message, how can I block javascript messages ?
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,273
|
Hi, You can handle JSDialog event. See here for sample code: http://www.essentialobjects.com/doc/6/customize/js_dialog.aspxFor example, in the case JSDialogType.BeforeUnload case, if you just call e.OK() without calling MessageBox.Show(), it will have the same effect as if a message box was displayed and user pressed OK. Thanks!
|
Rank: Member Groups: Member
Joined: 3/19/2015 Posts: 10
|
Thanks for quick reply!
|