Welcome Guest Search | Active Topics | Sign In | Register

Javascript Message Options
alihuseyin
Posted: Friday, May 1, 2015 4:08:40 AM
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
eo_support
Posted: Friday, May 1, 2015 9:37:45 AM
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.aspx

For 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!
alihuseyin
Posted: Saturday, May 2, 2015 6:56:25 AM
Rank: Member
Groups: Member

Joined: 3/19/2015
Posts: 10
Thanks for quick reply!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.