The GridBoundColumn sorts fine, but the GridButtonColumn does not sort. Does this column type not support sorting without further customization?
5 Answers, 1 is accepted

By default button columns does not support sorting - you can use template column with a regular button in ItemTemplate instead.
Vlad


You can also refer the following code library submission which shows how to achieve sorting with GridButtonColumn.
Filtering and sorting for GridButtonColumn
Cheers
Shinu.

I added a GridTemplateColumn, but it still doesn't seem to support sorting. Am I missing something?

I hadn't set the SortExpression. All's well. Thanks for the help.
Hi Steve,
We are not aware of sorting issues related to the .NET framework version.
Note that the proper binding technique is crucial for the proper functioning of RadGrid features. With that in mind please make sure you are either using the NeedDataSource event to bind data to the RadGrid, or you are binding the control to a Declarative DataSource. Check out the How to bind RadGrid properly on server-side article on the matter. Also, make sure you are not calling the DataBind() method anywhere for the RadGrid.
If all with binding data to the RadGrid is fine, I would suggest you try setting the EnableLinqExpressions (if set) to false and see if that would affect the behavior.
If none of the suggestions above is helpful, we will need to learn more about your RadGrid configuration and scenario. It would be very helpful if you manage to isolate the problem in a runnable sample and share it so we can investigate the issue locally, see Isolating a Problem in a Sample Project.