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

detect column sorting click

1 Answer 76 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 07 Nov 2008, 02:21 AM
just like a click on the tab, how do you detect if the column header was clicked for sorting. beccause i want to capture that action so i could reload the page. i have the 

 

If Not ScriptManager1.IsInAsyncPostBack Then and it doesn't load my data when i click on the column to sort. please help me thank you very much.

 

sorry wrong place to post

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 07 Nov 2008, 10:15 AM
Hello Duy,

Try the following approach:
Protected Sub RadGrid1_ItemCommand(ByVal source As ObjectByVal e As GridCommandEventArgs) Handles RadGrid1.ItemCommand 
    If e.CommandName = RadGrid.FilterCommandName Then 
        'YOUR CODE 
    End If 
End Sub 

Regards,
Daniel
the Telerik team

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