It can be reproduced by creating some columns, then clear and then add less columns that the initial numbers of columns.
Then the control throws an exception in SaveViewState saying the index is out of range.
Regards
Ole Oscar Johnsen
1 Answer, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 22 Feb 2016, 12:47 PM
Hello Ole,
If you are creating the RadGrid dynamically you should use the approach described in the following article. Please give it a try and see how it works for you.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items