dakota97
Well-known member
Hi All,
Im running into a very annoying problem, and cannot for the life of me figure it out.
I have 2 web pages that Im working with in a registration process, Register.aspx and ProcessRegistration.aspx. The first page has 2 textboxes for existing users to login at the top, and a registration form for a new user to fill out. However, when I fill out the registration form and submit it, the page does not keep the form data so that it can be processed.
At first I tried processing the data in the click event of the submit button on the Register.aspx page. If the information was correctly processed, then it sent the user to a success page. But, I believe that I was running into a problem with the postback for that page. It is my understanding that what was happening was the page was re-initializing the controls, and thats why the text boxes has no text values. So I tried looking at cross-page posting by sending the data to the ProcessRegistration.aspx page, but am still having no luck.
Can anyone give me some advice on how I need to do this? This is a big project for a client, and Im totally stuck on this, and its a major part of the application. Any help would be greatly appreciated.
Thanks in advance,
Chris
Im running into a very annoying problem, and cannot for the life of me figure it out.
I have 2 web pages that Im working with in a registration process, Register.aspx and ProcessRegistration.aspx. The first page has 2 textboxes for existing users to login at the top, and a registration form for a new user to fill out. However, when I fill out the registration form and submit it, the page does not keep the form data so that it can be processed.
At first I tried processing the data in the click event of the submit button on the Register.aspx page. If the information was correctly processed, then it sent the user to a success page. But, I believe that I was running into a problem with the postback for that page. It is my understanding that what was happening was the page was re-initializing the controls, and thats why the text boxes has no text values. So I tried looking at cross-page posting by sending the data to the ProcessRegistration.aspx page, but am still having no luck.
Can anyone give me some advice on how I need to do this? This is a big project for a client, and Im totally stuck on this, and its a major part of the application. Any help would be greatly appreciated.
Thanks in advance,
Chris