Hi Telerik,
I face another problem again. This time with sorting. I bound my grid to dataset and never set any sorting. I disabled the EnableSorting, AllowNaturalSort and anything related with sorting.
Let say I have 5 unsorted entry in grid and if i rebinding again to dataset the previous sorting is gone. The grid will re sort ASCENDING.
Please help
I face another problem again. This time with sorting. I bound my grid to dataset and never set any sorting. I disabled the EnableSorting, AllowNaturalSort and anything related with sorting.
Let say I have 5 unsorted entry in grid and if i rebinding again to dataset the previous sorting is gone. The grid will re sort ASCENDING.
Please help
5 Answers, 1 is accepted
0
Hello Erik,
The problem may be the SortExpressions collection of the MasterGridViewTemplate of the RadGridView. Try to clear this collection and then rebind the RadGridView with the new data.
I hope this was helpful. Please contact me again if I can be of any further assistance.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The problem may be the SortExpressions collection of the MasterGridViewTemplate of the RadGridView. Try to clear this collection and then rebind the RadGridView with the new data.
I hope this was helpful. Please contact me again if I can be of any further assistance.
Regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Erik
Top achievements
Rank 1
answered on 27 Sep 2007, 01:13 PM
Hi Telerik,
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
0

Erik
Top achievements
Rank 1
answered on 27 Sep 2007, 01:13 PM
Hi Telerik,
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
0

Erik
Top achievements
Rank 1
answered on 27 Sep 2007, 01:13 PM
Hi Telerik,
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
I never set any SortExpression and also I did SortExpression.clear And still the grid will sort ASCly
Thanks
0
Hello Erik,
Maybe the DataTable is sorted before the RadGridView binding process.
Unfortunately we are not able to reproduce this behavior with the information provided. Will it be possible for you to send us a simple project to reproduce problem locally? A small part of your data file will help as well.
Thank you in advance.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Maybe the DataTable is sorted before the RadGridView binding process.
Unfortunately we are not able to reproduce this behavior with the information provided. Will it be possible for you to send us a simple project to reproduce problem locally? A small part of your data file will help as well.
Thank you in advance.
All the best,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center