Does the IndexOf() method from GridColumnCollection return a zero based index?
What will be returned if the column wasn´t found?
Thanks,
Frank
Remark to: http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/columns/reordering
...
GridColumnCollection cols = grid.MasterTableView.Columns;
GridColumn c = cols.FindByUniqueName(columnName);
if (c != null)
...
FindByUniqueName throws a GridException if the column wasn´t found.
So why testing c for null?
...