on 09-13-2010 2:54 AM
Hi Expert,
We have this common senario: when leave current iView(eg, change the menu, close the window etc) we need to notify user whether they want to save current content or not, but I found wdDoExit(in views or coponent controller) can not be triggered
Is there any event we can use to reside these logic?
Thanks in advance.
Best Regards,
William
How about trying to use the wdDoBeforeAction event? You can use a flag to keep track of whether or not there is unsaved data, and check it in the above-mentioned event.
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can trigger an event in the plugin-method of the next view.
regards
Gunter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does Anyone hear me here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.