ASP.Net questions about submitting a postback form

Let's say I have a very simple form, with a submit button and a dropdown. When I modify a list entry and hit submit, at what point in the postback processing does the display in the view reflect my modified list entry?

According to O'Reilly Learning ASP.Net 3.5, there are two loads going on, one before form validation and one after (diagram on page 266 for those who have a copy).

According to the diagram, the view state is loaded during the first stage of loading before validation. I am assuming that my modified dropdown is reflected at this point?

In addition, according to the diagram, published data is processed twice, both before and after verification. Can anyone elaborate on this in more detail and what kind of form processing happens at each point?

Thanks for the help. It's a little hazy what happens when I try to clear it up a bit.

+2


source to share


1 answer


The view state is loaded after the page is initialized, but before the page is loaded. Validation is performed immediately before triggering an event for the button that triggered the test.



+3


source







All Articles