Hi Mike,
I am binding grid with object data source. The problems comes when the properties of the object are dynamically calculating on the fly. Is there anyway for grid to cache and i will refresh when those properties needs to be recalculate.
Thanks
regards
Wynn
Hi Wynn,
I don't think there's any easy way to do this. The DotNet binding model is going to send notifications to the grid when changes occur on the data source and the grid has to respond.
So in order to do something like this, you would probably have to create a sort've intermediary level between the grid and the data source. For example, you could bind the grid to a BindingList or an UltraDataSource into which you copy the data from your "real" data source.
Then you could simply ignore changes and when you want to refresh, copy the changes into the grid's data source.