asp.net 4.0: datagrid uses control state or view state
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.
精彩评论