The RadGrid's AutoGenerateColumn is set to True. it can generate columns from the data source and load perfectly fine. Then I save the Grid Setting using the PersistanceManager. All good so far
The Grids data-source is actually taken from a View in database. only if I remove a column from the database View, and then try to load the grid along with saved settings then it fails because now the column that was there when saving settings no longer exists in datasource.
Here is how first settings are loaded
RadPersistenceManagerCs.LoadState()
and then
RadGridCs.Rebind()
The error is thrown in .Rebind()
The RadPersistanceManager does not expose any property where i can see what was loaded
I wonder if it is possible to verify if columns in saved settings match columns in data-source some other way
Thanks
Harshad