Monday, 26 August 2013

Gridview Sorting event unhandled

Gridview Sorting event unhandled References I have an asp gridview which is connected to my sql database via LINQ. I have it bound in the code behind. I also do the usual, AllowSorting=\"True\" and I set the sort expression for each column: ex- But when I run the application, and click the column headers to sort, the application fires an exception error that reads: \"The GridView \'gridview1\' fired event Sorting which wasn\'t handled.\" I looked this error up online but I only found responses related to C# code. I tried converting them to vb.net but the error still persisted. Does anyone know how to handle sorting of an asp gridview in vb.net?

No comments:

Post a Comment