Hi,
I have a RadGrid inside a RadListView (which has a page size of 1), the problem I'm having is that my RadGrid_OnNeedDataSource gets called before my RadListView_OnNeedDataSource. This is problematic because the data I need to populate my RadGrid with is dependent on the
RadListView's new DataKey: ideally in RadGrid_OnNeedDataSource I'd get the NEW DataKeyValue of the RadListView and use that to
call a stored procedure in the database.
If I try to get the RadListView's current item's datakey in RadGrid_OnNeedDataSource I always get the old RadListView item's datakey (i.e. not the one I just selected).
Is there an easy work around for this?
Regards,
-Carlo
I have a RadGrid inside a RadListView (which has a page size of 1), the problem I'm having is that my RadGrid_OnNeedDataSource gets called before my RadListView_OnNeedDataSource. This is problematic because the data I need to populate my RadGrid with is dependent on the
RadListView's new DataKey: ideally in RadGrid_OnNeedDataSource I'd get the NEW DataKeyValue of the RadListView and use that to
call a stored procedure in the database.
If I try to get the RadListView's current item's datakey in RadGrid_OnNeedDataSource I always get the old RadListView item's datakey (i.e. not the one I just selected).
Is there an easy work around for this?
Regards,
-Carlo