Hello everyone,
This is long, but I really will appreciate your input because I need it.
I'm trying to sort a gridview when the user clicks on the column header, the grid view is assigned the datasourse at run time base on the results of a query made from input from the user, because of this there is not DataSourceID on the grid and when the user clicks on the header I get:
The GridView 'GridViewID' fired event Sorting which wasn't handled
I tried to implement the solution suggested in this link:
http://forums.asp.net/t/956540.aspxwith no success, the line:
DataTable dataTable = gridView.DataSource as DataTable;
Returns a NULL DataTable which prevet the code to do the sorting.
Any ideas are welcome
Thanks much
Luis
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould