Rank: Member
Joined: 5/8/2006(UTC) Posts: 5
|
Hello,
I want to enable sorting on several of the anthem grids in the admin section (e.g., Categories and Products).
However, when I add a sort expression to column I want to sort on, and place AllowSorting="true"EnableSortingAndPagingCallbacks="true"[2] causes an error to be thrown.[/2]
Any one dones this succesfully?
-Michael
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
Anthem GridView is a normal GridView with a couple of extra properties (including AddCallBack and EnableCallBack...but as you noticed they do not affect sorting or paging). EnableSortingAndPagingCallbacks is inherited from the normal GridView and requires some special setup on the server to implement.
AllowSorting will only work if the datasource knows what to do with the sort expression. Apparently the datasource for those two grids ignores the sort expression (if they did not accept a sort expression you would have seen an error...although maybe you are and it is being swallowed up by the callback).
I have not read that anyone else has enabled sorting on those two grids. Perhaps the BV folks will have something to add when they return from their break. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.