When setting e.Cancel = true on the event args of RadGridVoew.Sorting event, the grid nevertheless modifies the SortingState of columns.
Say the column was in Descending. In the event handler I set it to Ascending, and set e.Cancel = true.
I expect the final state to be Ascending, but the grid changes it to None, according to its internal logic.
Using Reflector, I can see that UpdateColumnSortStatesOnSort() is called in GridViewDataControl.Sort(), even if sortingArgs.Cancel == true. I believe that that call should be avoided.
Say the column was in Descending. In the event handler I set it to Ascending, and set e.Cancel = true.
I expect the final state to be Ascending, but the grid changes it to None, according to its internal logic.
Using Reflector, I can see that UpdateColumnSortStatesOnSort() is called in GridViewDataControl.Sort(), even if sortingArgs.Cancel == true. I believe that that call should be avoided.