Đang chuẩn bị liên kết để tải về tài liệu:
HTML Source Of a Page

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

However, the Web server also needs to know what other data the user has entered on the page so that when it generates the HTML response, it can preserve these values in the display. | displayed. In the case of many events this page will be the same as the one that issued the original request. However the Web server also needs to know what other data the user has entered on the page so that when it generates the HTML response it can preserve these values in the display. If the Web server only sent back the HTML that composed the original page any data entered by the user would disappear. If you look at the HTML source of a page generated by a Web form you will notice a hidden input field in the form. The example shown previously had this hidden field input type hidden name _VIEWSTATE value WEPdDwxNDk0MzA1NzE0O3Q8O2w8aTwxPjs O2w8bDxpPDE3PjtpPDE5 PjtpP DIxPjtpPDI3PjtpPDMzPjs O2w8dDxwPHA8bDxDaGVja2VkOz47bDxvPH Q Oz4 Oz 47Oz47dDxwPHA8bDxDaGVja2VkOz47bDxvPGY Oz4 Oz47Oz47dDxw PHA8bDxDaGVja2 VkOz47bDxvPGY Oz4 Oz47Oz47dDx0PDt0PGk8Mz47QDxBbm FseXN0O0Rlc2lnbmVyO0 RldmVsb3Blcjs O0A8QW5hbHlzdDtEZXNpZ25lcjtE ZXZlbG9wZXI7Pj47Pjs7Pj t0PHA8cDxsPFRleHQ7PjtsPFxlOz4 Oz47Oz47Pj 47Pj47bDxQZW9uQnV0dG9uO1BIQ kJ1dHRvbjtQSEJCdXR0b247VlBCdXR0b247 VlBCdXR0b247UHJlc2lkZW50QnV0dG9uO 1ByZXNpZGVudEJ1dHRvbjs Pg This information is the content of the controls or view state in an encoded form. It is sent to the Web server whenever any event causes a postback. The Web server will use this information to repopulate the fields on the page when the HTML response is generated. All of this data has an impact on scalability. The more controls you have on a form the more state information has to be passed between the browser and Web server during the postback processing and the more events you use the more frequently this will happen. In general to reduce network overhead you should keep your Web forms relatively simple and avoid excessive use of server events and be selective with view state to avoid sending unnecessary information across the network. You can disable the view state for a control by setting the EnableViewState property of the control to False the default setting is True