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

Custom sorting with custom paging in radgrid

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
avinashg
Top achievements
Rank 1
avinashg asked on 15 Dec 2008, 04:49 PM
All columns in my rad grid are template columns. So in my header template i have placed a button to trigger the sorting.Has anyone worked this out?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Dec 2008, 07:20 AM
Hello avinashg,

Please check the last column in the first grid on this demo how to configure the button to trigger sorting:
http://demos.telerik.com/aspnet-ajax/Grid/Examples/GeneralFeatures/ColumnTypes/DefaultCS.aspx

Here is an example:
 <asp:LinkButton CssClass="Button" ID="btnContName" Text="Contact name"
Tooltip="Sort by ContactName" CommandName='Sort' CommandArgument='ContactName' runat="server" />


Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
avinashg
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or