Essential ASP.NET Web Forms Development by Robert E. Beasley

Essential ASP.NET Web Forms Development by Robert E. Beasley

Author:Robert E. Beasley
Language: eng
Format: epub, azw3
ISBN: 9781484257845
Publisher: Apress


Since view state data is stored in a page’s source code, large amounts of page data can overwhelm the memory of some mobile devices.

Since view state data is stored in a page’s source code, it can be accessed directly by viewing the page’s source code and can thus be tampered with.

Figure 16-1 shows an example of page values before and after a postback to the server that requests the same page. As can be seen in the first screenshot of the figure, selections have been made from the two drop-down lists, and entries have been made in the seven text boxes. The second screenshot shows the result of clicking the Save button, which requested a postback to the server requesting the same page. Notice that both drop-down list selections and all of the text box entries have been preserved and that no code was required to preserve this data.

Figure 16-1Example of page values before and after a postback to the server that requests the same page



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.