0

Hello,

I am trying to program my page so that when a user clicks on a column heading of a gridview, the data is sorted either in ascending or descending order.

So far, I have done it so that the gridview can be sorted:

<asp:GridView ID="GridView1" runat="server" Height="143px" AllowSorting="true"

I get a message saying:

The GridView 'GridView1' fired event Sorting which wasn't handled.

I dont quite understand what this means.

Can anybody advise please on what this means and what I need to do to overcome this?

Many thanks in advance.

Dan

1
Contributor
1
Reply
3
Views
6 Years
Discussion Span
Last Post by dwinn
0

I have just read that I need to create an event handler to handle the sorting of the data.

Would anybody be able to elaborate on this for me at all?

Thanks,

Dan

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.