I have a GridView DevExpress ASPx control and am trying to sort for grid columns.
The gridView grid contains integer values in one column, text in the rest. I also have a column that contains hyperlinks and is added through the code at runtime.
I use the event Aspxgrid_CustomColumnSortto sort the grid.
I can successfully sort for a column that contains integer values and texts, however the same code does not work for a column with hyperlinks.
When I click on the column heading, the hyperlinks are sorted in ascending order, but when I click on the heading a second time, when the grid is not sorted in descending order, the hyperlinks are sorted in random order (neither ascending nor descending)
And then clicks on the header do nothing.
Any advice / suggestions are welcome.
source
share