• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

mwrandall
#1 Posted : Tuesday, December 11, 2007 5:04:56 PM(UTC)
mwrandall

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
Andy Miller
#2 Posted : Tuesday, December 11, 2007 5:27:09 PM(UTC)
Andy Miller

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.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
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.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012