Hello
I have a sortable datagrid and i want to add an icon indicating whether the result set is after the user has sorted in ascending or descending order.
After i click on the sortable column i want the icon to appear in the header cell next to the text.
I thought of saving the sorting direction in viewstate and then use the itemdatabound event of the grid to add this icon.
However, this event will be fired whenever i do something with the grid, not only when i sort it.
Have you got any ideas?
Thank you
I have a sortable datagrid and i want to add an icon indicating whether the result set is after the user has sorted in ascending or descending order.
After i click on the sortable column i want the icon to appear in the header cell next to the text.
I thought of saving the sorting direction in viewstate and then use the itemdatabound event of the grid to add this icon.
However, this event will be fired whenever i do something with the grid, not only when i sort it.
Have you got any ideas?
Thank you