In my case the Clear(); method throws an ArgumentOutOfRangeException.
.Remove() and RemoveAt() are the same.
What can be the reason?
I use toolbar to programmatically create and remove grouping.
Full code is below.
Thanks in advance
GridGroupByExpression expr1 = new GridGroupByExpression(RadGrid1.Columns[1]);
RadGrid1.MasterTableView.GroupByExpressions.Add(expr1);
//this is fine.
But
RadGrid1.MasterTableView.GroupByExpressions.Clear() .RemoveAt() throws the error.