Strategies for reducing ViewState size in asp.net

后端 未结 6 1591
星月不相逢
星月不相逢 2021-01-12 18:17

I use \'n\' number of server controls in my page. Now I am into performance tuning and I\'ve noticed that my ViewState is too large and it makes my page slow.<

6条回答
  •  没有蜡笔的小新
    2021-01-12 18:50

    The first thing you should do is turn off viewstate wherever you don't need it. Examine the controls and determine which ones absolutely need viewstate turned on.

提交回复
热议问题