Limiting view state information on AJAX calls

后端 未结 5 1971
予麋鹿
予麋鹿 2020-12-19 20:26

I have an Entry Form and a GridView on the same page. Selecting a row from the GridView populates the TextBoxes in the Entry Form above it with all the entries of the GridVi

5条回答
  •  隐瞒了意图╮
    2020-12-19 20:43

    I agree with Kevin M and Aristos. Additionaly there is another way how to minimize transfered ViewState size: store it on server side using custom viewstate provider. This article describes how to create such provider: http://www.codeproject.com/Articles/8001/ViewState-Provider-an-implementation-using-Provide.

    What pitfalls arise by using a custom view-state provider?

提交回复
热议问题