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

Clear sorting does not work

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 13 Dec 2008, 09:59 AM
Hello.

I am implementing custom sorting because my recordsets are huge (millions of rows).

I am creating recordset during a NeedDataSource event, not during a SortCommand event, because I don't want to run the SQL command twice.

Thus I am testing the RadGrid1.MasterTableView.SortExpressions. This collection contains fields which have been cleared by Clear sorting client side context menu. But RadGrid knows that the column has no sorting because the column header contains no triangle.

Thank you very much.

Tomas PAJER

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Dec 2008, 07:23 AM
Hi Tomas,

I guess this is happening since the sort expression is being cleared on the client side. One suggestion will be to perform a postback from client side on clicking the ContextMenu item and then clear the sort expression on the server side.

Shinu
0
tomas
Top achievements
Rank 1
answered on 17 Dec 2008, 05:52 PM
Do you think that this is a bug or not?

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