Hi,
I got a asp.net page (SignupForm.aspx) with some text fiels and a link on it.
When the link is clicked it opens up a new page(SelectNumber.aspx) on a new window.
I have a button on the new page(SelectNumber.aspx), when clicked reloads the parent page(SignupForm.aspx).
My problem is when it reloads the SignupForm.aspx page, it forgets the form values on the page.
Is there a simple way of remembering form values on a page reload ?
I would appreciate any help on this.
here's the line of code i use on the page to reload the parent page.
Thanks.
I got a asp.net page (SignupForm.aspx) with some text fiels and a link on it.
When the link is clicked it opens up a new page(SelectNumber.aspx) on a new window.
I have a button on the new page(SelectNumber.aspx), when clicked reloads the parent page(SignupForm.aspx).
My problem is when it reloads the SignupForm.aspx page, it forgets the form values on the page.
Is there a simple way of remembering form values on a page reload ?
I would appreciate any help on this.
here's the line of code i use on the page to reload the parent page.
Code:
void OnButtonSubmit(Object sender, EventArgs e)
{
RegisterClientScriptBlock("", "<script language='JavaScript'> opener.location.reload(); </"+"script>");
}
Thanks.