Hi,
I want to sort the ENTIRE column,when user clicks on its header.I could sort only to the no.of records the user can see (say pagesize which may be either 10 or 20 or 30 or..... but not among all the 500 records available) .But I want all the 500records to be sorted and display the top records in the 1st,2nd,3rd pages according to the page size set .
Thanks in advance,
Dilip
I want to sort the ENTIRE column,when user clicks on its header.I could sort only to the no.of records the user can see (say pagesize which may be either 10 or 20 or 30 or..... but not among all the 500 records available) .But I want all the 500records to be sorted and display the top records in the 1st,2nd,3rd pages according to the page size set .
Thanks in advance,
Dilip
4 Answers, 1 is accepted
0

Jayesh Goyani
Top achievements
Rank 2
answered on 17 Aug 2011, 12:18 PM
Hello,
Please check below link.
Advanced Data Binding
Commands that invoke Rebind() implicitly (Radgrid Automatically call NeedDataSource Event after sort command)
Radgrid Automatically sort the all Records.
Let me know which method You used for binding the dataSource..
Thanks,
Jayesh Goyani
Please check below link.
Advanced Data Binding
Commands that invoke Rebind() implicitly (Radgrid Automatically call NeedDataSource Event after sort command)
Radgrid Automatically sort the all Records.
Let me know which method You used for binding the dataSource..
Thanks,
Jayesh Goyani
0

Princy
Top achievements
Rank 2
answered on 17 Aug 2011, 12:21 PM
Hello Dilip,
When you have set AllowSorting to true, sorting takes place automatically with paging enabled. Check the following demo and help documentation which implements the same.
Grid / Basic Sorting.
Grid / Basic Sorting.
Thanks,
Princy.
When you have set AllowSorting to true, sorting takes place automatically with paging enabled. Check the following demo and help documentation which implements the same.
Grid / Basic Sorting.
Grid / Basic Sorting.
Thanks,
Princy.
0

Dilip
Top achievements
Rank 1
answered on 17 Aug 2011, 12:41 PM
Hi ,
Jayesh Goyani,
I use NeedDataSource event for binding the data.I tried with the code in Advanced Data Binding .But still i could not get it.
Princy,
Some pages of my application are able to do it.But i am unable to trace the problem in some.Though almost all of them are enabled with the same properties.
Thanks ,
Dilip
Jayesh Goyani,
I use NeedDataSource event for binding the data.I tried with the code in Advanced Data Binding .But still i could not get it.
Princy,
Some pages of my application are able to do it.But i am unable to trace the problem in some.Though almost all of them are enabled with the same properties.
Thanks ,
Dilip
0

Jayesh Goyani
Top achievements
Rank 2
answered on 17 Aug 2011, 12:49 PM
Hello Dilip,
If possible then provide your code and tell me which version of Telerik DLL,Browser and Sample Records/Data You Used ?
So we can find the actual problem in your code.
Thanks,
Jayesh Goyani
If possible then provide your code and tell me which version of Telerik DLL,Browser and Sample Records/Data You Used ?
So we can find the actual problem in your code.
Thanks,
Jayesh Goyani