Hi!
I have a grid that is migrated from RadGrid classic to RadGrid asp.net ajax where I want to use a dataset with (among others) three columns that are related but of which I only want to show one in the grid, but I want to sort the grid on the other two.
The columns are RatingCode, RatingText and RatingAggregate. The rows that have a RatingCode don't have a RatingText and vice versa. The RatingAggregate is the data I want to show, but I want that column to use SortExpression="RatingText asc, RatingCode asc", since the RatingAggregate column has mixed data and can't be sorted correctly (i.e. 1 before 10 etc).
The column is a GridTemplateColumn.
This worked perfectly in radgrid classic, but when I do it in RadGrid ASP.NET AJAX i get the exception IndexOutOfRangeException: Can't find the column RatingCode.
How should I do this in RadGrid ASP.NET AJAX?
I have a grid that is migrated from RadGrid classic to RadGrid asp.net ajax where I want to use a dataset with (among others) three columns that are related but of which I only want to show one in the grid, but I want to sort the grid on the other two.
The columns are RatingCode, RatingText and RatingAggregate. The rows that have a RatingCode don't have a RatingText and vice versa. The RatingAggregate is the data I want to show, but I want that column to use SortExpression="RatingText asc, RatingCode asc", since the RatingAggregate column has mixed data and can't be sorted correctly (i.e. 1 before 10 etc).
The column is a GridTemplateColumn.
This worked perfectly in radgrid classic, but when I do it in RadGrid ASP.NET AJAX i get the exception IndexOutOfRangeException: Can't find the column RatingCode.
How should I do this in RadGrid ASP.NET AJAX?