How to tell PageA.aspx to force a postback on PageB.aspx ?
Hi everyone,
I have a query here.
I have one form page (let me call it form.aspx). What is required is, one a button is clicked, a small window (i call it password.aspx) will appear requesting for password.
What I need is right after the password has been entered and submitted, the data will be processed and then a postback will happen at form.aspx depending on whether the submitted password was successfull or not.
What do i need to do to achieve this?
Thanks in advance :)
PS: Let me know if my explanation is not clear. :)
Re: How to tell PageA.aspx to force a postback on PageB.aspx ?
As I understand, you want to redirect the user from the FORM.aspx to say a page ABC.aspx, once he enters the correct password in the small window.
I guess, after validating the password, you can add the following javascript:
Code:
window.parent.href="ABC.aspx";
//close the small window
window.close();