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

List data source parameter

1 Answer 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vitali
Top achievements
Rank 1
Vitali asked on 01 Sep 2011, 04:57 PM
It is userObjectDataSource (IList<User> GetUsers())  as report DataSource. Also it is a List in details report section and it is an ObjectDataSource  (IList<string> GetPrivileges(int userId)) as DataSource for this List. How can I set UserId from userObjectDataSource  as value for parameter of ObjectDataSource? I tried ObjectDataSource->Parameters->Value-><Expression>->Fields, but  - No Data Source found. It should be one list of privileges for each user. Implementation through SubReport incorrect displayed after export in to PDF or TIFF. Can you help me?


1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Sep 2011, 05:15 PM
Hi Vitali,

Our suggestion is to use data source components relation as elaborated in Passing data from 1 datasource to datasource2 forum thread.

We are not sure what do you mean by:
"Implementation through SubReport incorrect displayed after export in to PDF or TIFF." 
Thus we will appreciate if you elaborate further and/or send us more information that shows the unexpected behavior.

Kind regards,
Peter
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
Vitali
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or