Hi,
you have AllowSorting="true" set for the GridView and therefore you need to
have event handler for its Sorting event
<asp:GridView AllowSorting=true ID="GridView1" runat="server"
OnSorting="GridView1_Sorting">
...
</asp:GridView>
protected void GridView1_Sorting(object sender, GridViewSortEventArgs e)
{
//...
}
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Arjen" <bo*****@hotmail.com> wrote in message
news:dd**********@news1.zwoll1.ov.home.nl...
Hi,
I get this error message when sorting a gridview:
The GridView 'GridView1' fired event Sorting which wasn't handled
What do I need to do?
Thanks!