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

How to set the RadGrid Sorted column selected while loading the page?

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 06 Jan 2009, 01:35 PM

Currently we are using the Rad Grid in our application and we need to set the first column as seleted with the dropdown image. We set the sort expression and while clicking on the hear only it is getting selected and the direction arrow image is showing. While loading the page itself, how can we set this property with the direction (asending/descending) images?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Jan 2009, 04:23 AM
Hi Raj,

Try setting the SortExpressions as shown below to achieve the desired scenario.

ASPX:
 <SortExpressions> 
      <telerik:GridSortExpression  FieldName="ProductName" SortOrder="Ascending" /> 
  </SortExpressions> 


Thanks
Shinu
Tags
Grid
Asked by
Raj
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or