开发者

asp.net 4.0: datagrid uses control state or view state

开发者 https://www.devze.com 2022-12-22 02:01 出处:网络
can any one tell me that in asp.net 4.0, datagrid uses control state or view state to ma开发者_Go百科nage its state in postbacks. DataGrid or GridView?I know the GridView stores essential properties t

can any one tell me that in asp.net 4.0, datagrid uses control state or view state to ma开发者_Go百科nage its state in postbacks.


DataGrid or GridView? I know the GridView stores essential properties to the Grid's operation in control state, and everything else in viewstate. So the answer is both. That way, when the page's viewstate is off, the essentials still work.

HTH.

0

精彩评论

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

关注公众号