views:

540

answers:

0

I'm binding an UltraWebGrid to a custom DataSourceControl that gets information from a database.

On a page the UltraWebGrid requests data from my control before the paging takes place and then again after the paging takes place. The first request has the correct sort expression, but the incorrect page. The second has the correct page, but a blank sort expression.

Has anyone else experienced this, and do they have a solution that maintains the sort expression though paging requests made through a control that derives from DataSourceControl?

Additionally the UltraWebGrid is bound to the DataSourceControl at design time using the DataSourceID property on the UltraWebGrid control.