This is a migrated thread and some comments may be shown as answers.

How to pass data key fromItemCommand to Selecting event of ObjectDataSource

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
arun
Top achievements
Rank 1
arun asked on 05 Oct 2010, 01:51 PM
Hi all,

I need to get DataKeyValue from ItemCommand event of Radgrid and need to pass as input parameter in ObjectDataSource's Selecting event like 
            obj.EmpID= EmpID (runtime Value from ItemCommand)            
            e.InputParameters["obj"] = obj

So that the Nested DetailView should be as per that specifc row of Radgrid.

Here i am getting Key from ItemCommand, but unable to pass that key dynamically to ObjectDatasource, because both the events get call at different time interval.

Or i should try different approach.
Please help me on this regard.

1 Answer, 1 is accepted

Sort by
0
arun
Top achievements
Rank 1
answered on 07 Oct 2010, 06:29 AM
It get resolved..

Thanks
Tags
Grid
Asked by
arun
Top achievements
Rank 1
Answers by
arun
Top achievements
Rank 1
Share this question
or