开发者

viewstate enable in asp.net?

开发者 https://www.devze.com 2023-01-07 08:22 出处:网络
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 disabl

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

精彩评论

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