Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AllowSorting .net

    I want to do sorting for which i am setting the following properties but still the headers are not clickable

    <asp:datagrid id="DataGrid1" AllowSorting="True" runat="server" CellPadding="4" Font-Size="8" Font-Name="arial" HeaderStyle-BorderColor="#99ff33" ItemStyle-BorderColor="#6cc33" HeaderStyle-BackColor="#ccff66" ItemStyle-BackColor="#ffff00" AutoGenerateColumns="False" PageSize="5" PagerStyle-Position="TopAndBottom" PagerStyle-NextPageText="Next" PagerStyle-PrevPageText="Previous" AllowPaging="true">

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Here is a good link on sorting from MSDN
    http://msdn.microsoft.com/library/de...lesortable.asp

    See if that helps you out.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •