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

detailtable and objectdatasource

2 Answers 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
regina
Top achievements
Rank 1
regina asked on 27 Mar 2012, 03:48 AM
when using open access entities with wcf endpoints service how do I pass the value from the selected row to the object datasource for load on demand of the detail table, it is not the entityid it is a secondary id I am trying to pass, the one supporting the parent/child relationship of the master/detail tables.  I think I have to use the search with searchparameters but I do not know the syntax to pass in the search parameters.  Acutal Code snips are appreciated.  

2 Answers, 1 is accepted

Sort by
0
regina
Top achievements
Rank 1
answered on 27 Mar 2012, 04:09 PM
Can anyone help me with this please.
0
Iana Tsolova
Telerik team
answered on 30 Mar 2012, 09:39 AM
Hello,

You are using ObjectDataSource control to bind the hierarchical grid, right? In this case, you can add a SessionParameter to the Select parameters of the data source used for the inner level which is named to the Key Data Field. The logic is the same as in this demo.

Regards,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
regina
Top achievements
Rank 1
Answers by
regina
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or