For WebHierarchicalDataSource ,'DataView has no DataSource or DataSource set 'error gets displayed.WebHierarchicalDataSource
Web grid’s DataSourceId property is set to WebHierarchicalDataSource.ID property. InitializeDataSource event is also added .But not any success.
Hi,
When exactly the exception is thrown, on initial page load or on postback?
If you are binding the DataViews in the code behind make sure that you do that before the data binding of the grid.
If you still experience difficulties with that please submit a sample web site or just the source code and we will try to reproduce and fix the issue.