Save ViewState to elsewhere

xiaoxiao2021-03-06  96

I made a little thing in the first two days, wrapped in ViewState storage, and saved the ViewState of the page to our designated location. About how the principle of ViewState has made such modifications, see the contents of my BLOG. Kaneboy.Web.ViewState has three ways of storage ViewState, saved in the session, saved in the Hidden Field on the page after compression, and, as implemented in the Hidden Field, as implemented as ASP.NET 1.1, directly in Hidden Field. By viewing its source code, you can understand the knowledge of ViewState. According to my use test, on the page with DataGrid or similar control, use the built-in ViewState compression mode to make a large narrowing volume. Detailed instructions here, by reading the instructions, you can get roughly it. The source code is here.

转载请注明原文地址:https://www.9cbs.com/read-126819.html

New Post(0)