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

GRIDVIEW to SORT ONLY IN ASCENDING AND DESCENDING

4 Answers 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Asish
Top achievements
Rank 1
Asish asked on 07 Jan 2011, 09:50 AM
Hi
i want that my gridview column  should sort the data only in ascending and descending . not in the order the data were created in the gridview
Please help me find the solution

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 07 Jan 2011, 10:11 AM
Hello Asish,

 
Please take a look at the following online help article "Turn off the SortingState.None".

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Asish
Top achievements
Rank 1
answered on 07 Jan 2011, 10:31 AM
if i am typing e.NewSortingState = =  , then i am not getting anything called as SortingState
Please look afetr it
0
Vanya Pavlova
Telerik team
answered on 07 Jan 2011, 11:14 AM
Hi Asish,

 
Can you verify that you added the Telerik.Windows.Controls namespace in your code-behind?
Please check the attached project and let me know if you need any further assistance.

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Asish
Top achievements
Rank 1
answered on 07 Jan 2011, 12:09 PM
Hey Thanks a lot ...i had added Telerik.controls.gridview. So it was not working , but now on changing amespace it worked.Thanks.
Tags
GridView
Asked by
Asish
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Asish
Top achievements
Rank 1
Share this question
or