on 12-29-2008 11:29 AM
Hi all.
I'd like to close a BSP page when clicking one button, instead of the browser close button, but I need to do some validations before. So I've thought to catch the button in OnInputProcessing event, make the validations and finally close the window.
I've tried with navigation->exit( '' ). but it keeps a blank page.
Hi Luis,
You can set a flag in OnInputProcessing after your validations and in layout check this flag and call window,close.
<% if flag = 'X' .%>
<s cript type='text/js'>
w i n d ow . c l o se ();
</s cript>
<% endif. %>
How to avoide the confirmation popup...
I am also looking forward to the solutions...
Regards,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I had the same problem. My solution is to navigate to a page that close the browser with JavaScript.
Create a new page, close_window.htm for example. In OnInput you navigate to this page after your validations. The new page close the browser with Javascript window.close()
Best regards
Renald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.