This is a migrated thread and some comments may be shown as answers.

RadGrid sorting problem

2 Answers 48 Views
Input
This is a migrated thread and some comments may be shown as answers.
Harry
Top achievements
Rank 1
Harry asked on 17 Dec 2009, 07:31 AM
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 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Dec 2009, 08:50 AM
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.
0
Harry
Top achievements
Rank 1
answered on 31 Dec 2009, 05:39 AM
Tags
Input
Asked by
Harry
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Harry
Top achievements
Rank 1
Share this question
or