Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 grid not sorting!

Author  Topic 

jhermiz

3564 Posts

Posted - 2004-10-04 : 11:43:10
My data grid does not sort...
the column headers are not clickable
even though I set the grid to allow sorting:


<td colSpan="4"><asp:datagrid id="dgIssues" runat="server" DataKeyField="IssueID" AutoGenerateColumns="False"
Width="100%" Font-Names="Arial" AllowSorting="True" OnSortCommand="dgIssues_SortCommand">

Anyone know why this would not work?

joldham
Wiseass Yak Posting Master

300 Posts

Posted - 2004-10-04 : 17:18:53
Have you specified an action to occur in the dgIssues_SortCommand method?

Jeremy W. Oldham
Go to Top of Page

jhermiz

3564 Posts

Posted - 2004-10-04 : 17:19:49
its working now sorry i forgot to post back...small error
Go to Top of Page
   

- Advertisement -