J
JJ
I know that this has been talked about before but I am still unsure.
When a asp.net page has a submit button clicked it sends the data in
the viewstate from controls on page to the server. The server sends a
response to same page with the same data. This is what is called a
postback, correct? A postback actually represents a round trip to and
back again from server, right? Now without the viewstate if I clicked
submit and the page didn't have viewstate enabled then the response
from the server would actually clear out the controls, correct?
Also what is HttpContext about? I read that it represents the data in
page, correct? When I reference this in code behind what are common
coding practices in using it?
Thanks,
JJ
When a asp.net page has a submit button clicked it sends the data in
the viewstate from controls on page to the server. The server sends a
response to same page with the same data. This is what is called a
postback, correct? A postback actually represents a round trip to and
back again from server, right? Now without the viewstate if I clicked
submit and the page didn't have viewstate enabled then the response
from the server would actually clear out the controls, correct?
Also what is HttpContext about? I read that it represents the data in
page, correct? When I reference this in code behind what are common
coding practices in using it?
Thanks,
JJ