GridView Sorting question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Maybe I'm missing something, but in the Sorting event of the Gridview, the
GridViewSortEventArgs.SortDirection is always Ascending. I'm not sure why?
 
I found the similar behavior and put in the article at following link..

http://www.netomatix.com/development/GridViewSorting.aspx

There is a Sort method on GridView where you specify sort direction and in
response to that methos, GridView control sets the sort direction in the
event argument of sorting event. GidView does not know the direction by
itself nor it seems to keep track of it.
 
Back
Top