B
Bogdan
Hi,
I've spent some time reading articles on gridview sorting when sort
expression consists of multiple columns. I have to say that I'm as confused
as ever.
Could someone please help me out on this one? What do I need to do in order
to utilize GridView's auto-sorting and be able to set the sort expression to
multiple columns?
Some articles mentioned that if I set SortExpression="column1,column2" and
try to sort in descending order then GV passes an expression of the
following format to the data source object: "column1, column2 DESC" and this
is why descending sort is never applied to the first column? Could someone
please confirm this? Is there an 'official' doc from MS that deals with it?
If the above is true, is there a workaround/solution?
I'd appreciate _any_ suggestions.
Thanks,
Bogdan
I've spent some time reading articles on gridview sorting when sort
expression consists of multiple columns. I have to say that I'm as confused
as ever.
Could someone please help me out on this one? What do I need to do in order
to utilize GridView's auto-sorting and be able to set the sort expression to
multiple columns?
Some articles mentioned that if I set SortExpression="column1,column2" and
try to sort in descending order then GV passes an expression of the
following format to the data source object: "column1, column2 DESC" and this
is why descending sort is never applied to the first column? Could someone
please confirm this? Is there an 'official' doc from MS that deals with it?
If the above is true, is there a workaround/solution?
I'd appreciate _any_ suggestions.
Thanks,
Bogdan