Hello,
I have a page that has a RadGrid in it. The grid uses the NeedDataSource to load the data.
The NeedDataSource calls a method on the page that returns a DataTable. This method is using a parameter that is retrieved from a property in a base page. Lets say that the property name is ParameterName. The value of this property is saved in the ViewState.
Most of the time everything is working fine; but sometimes the The ParameterName property is null. I have checked and saw that the NeedDataSource is called before the Page LoadViewState method. Is this normal?
How can I obtain the ViewState data before the NeedDataSource is called?
Thanks,
Oded
I have a page that has a RadGrid in it. The grid uses the NeedDataSource to load the data.
The NeedDataSource calls a method on the page that returns a DataTable. This method is using a parameter that is retrieved from a property in a base page. Lets say that the property name is ParameterName. The value of this property is saved in the ViewState.
Most of the time everything is working fine; but sometimes the The ParameterName property is null. I have checked and saw that the NeedDataSource is called before the Page LoadViewState method. Is this normal?
How can I obtain the ViewState data before the NeedDataSource is called?
Thanks,
Oded