Loading ...

Problem with postback ASP.NET form

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  web forms / data controls   » Problem with postback ASP.NET form

Problem with postback ASP.NET form

Posts under the topic: Problem with postback ASP.NET form

Posted: 11/11/2011

Lurker 10  points  Lurker
  • Joined on: 11/11/2011
  • Posts: 2

Hi all,
I am new to ASP.NET. The language and the VS framework both are very new to me. However, I am trying to add a few fields to an already existing asp.net form.
There are two pages default.aspx and submit.aspx used by users to submit some data.
default.aspx is the actual form and the data from default.aspx is posted to submit.aspx by using postbackurl="submit.aspx" property with the submit button. For submit.aspx, default.aspx is set as the PreviousPage. 
Basically submit.aspx is used to just display all the information that the user has just entered before he finally submits the information. The data is submitted to the database when the user clicks submit on the "submit.aspx".
However, the user can choose to go back to default.aspx file from submit.aspx to change the details he had previously entered. Hence for default.aspx, submit.aspx page is set as the PreviousPage.
Now, when I added a few more fields to the form (I have followed everything correctly both in the aspx files and the code-behind files) the submit.aspx page does not get the values for new fields. The new fields are just displayed as "Label" which is the default text that the fields are set to.
I really dont understand what I should be doing to fix this. Please help me fix this issue. Any help would be greatly appreciated.
Thanks!


Page 1 of 1 (1 items)