Version

EnableDataViewState Property (WebHierarchicalDataGrid)

Turns on separation of data and view of the grid. If the property is False the grid is requesting data from its data source on every post back. That applies to the paged grid as well, so if a page is switched the grid will query the data source twice: once for the current page and once for the new page. If the property is True the data is requested once on initial load. Only current page is placed in the view state if paging is enabled, meaning the grid will be requesting new page anyway of data if the page is switched.
Syntax
'Declaration
 
Public Property EnableDataViewState As Boolean
public bool EnableDataViewState {get; set;}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also