开发者

viewstate enable in asp.net?

I have a doubt in viewstate, if viewstate enable="false" then the viewstate not maintain the state of the control. Is there any refer开发者_运维技巧ence or any good article. Thank you.


You can disable viewState for one control or for the complete page. It's better using viewState only for forms controls that need to keep their values through Postbacks. Especially if you need an high performance web.


This MSDN article explains viewstate well.

http://msdn.microsoft.com/en-us/library/ms972976.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜