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

RadGrid - Complete deactivation of AllowNaturalSort

2 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Farouk
Top achievements
Rank 1
Farouk asked on 06 Feb 2009, 01:48 PM
Is there possibility to set the AllowNaturalSort property in the aspx not in codebehind like this:

Grid.MasterTableView.SortExpressions.AllowNaturalSort = false


2 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 09 Feb 2009, 02:07 PM
Hello Bastian,

Per GridTableView you set AllowNaturalSort to false:

...  
<MasterTableView AutoGenerateColumns="False" DataKeyNames="OrderID" AllowNaturalSort="false" 
                DataSourceID="SqlDataSource1">  
 
... 


Regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Farouk
Top achievements
Rank 1
answered on 09 Feb 2009, 02:11 PM
omg, i really overlooked this... thx!
Tags
Grid
Asked by
Farouk
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Farouk
Top achievements
Rank 1
Share this question
or