DataGrid Sorting

G

Guest

Hi,

I have a datagrid as below.

<asp:datagrid id="dg_MyTasks" CssClass="tblDiv" Runat="server"
AllowPaging="True" ForeColor="#DF5900" GridLines="None"
AutoGenerateColumns="False"
OnItemCommand="Grid_SelectCommand"
OnPageIndexChanged="dg_MyTasks_PageIndexChanged"
AllowSorting="True" OnSortCommand="dg_SortGrid">


My Sort command dg_SortGrid is called twice. Anyone know why this is the case?

Is this normal behaviour?

I don't call it from anywhere else.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top