RadGrid sorting problem

3 posts, 0 answers
  1. Harry
    Harry avatar
    27 posts
    Member since:
    Mar 2009

    Posted 17 Dec 2009 Link to this post

    Hello..
    i applied sorting on Rad Grid using this Code

     <himani:HimaniGrid ID="HimaniGrid1" runat="server" AllowPaging="True"
                        AllowSorting="True" GridLines="None" AutoGenerateColumn="False">
                     
                     <MasterTableView AllowMultiColumnSorting="false" AllowNaturalSort="true"
                            cellspacing="-1"/>
                <SortingSettings SortedBackColor="Azure" EnableSkinSortStyles="false" />
                <HeaderStyle Width="100px" />

                    </himani:HimaniGrid>
    i m using link Button in Item Template...
    its apply sorting on all Columns but not on link button column..
    i also want to apply  sorting on link button Column...
    plz reply.....

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 17 Dec 2009 Link to this post

    Hello Harry,

    To enable sorting for GridHyperLinkColumn and GridTemplateColumn, you need to set appropriate SortExpression values for those columns.

    More information is available here:
    Sorting for GridHyperLinkColumn/GridTemplateColumn

    Kind regards,
    Pavlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Harry
    Harry avatar
    27 posts
    Member since:
    Mar 2009
Back to Top