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

AvailableValues.DataSource for parameters

1 Answer 219 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Iurie Coroban
Top achievements
Rank 1
Iurie Coroban asked on 14 Feb 2011, 02:27 PM
Hi, Telerik!
    I have a difficulties with report parameters.
  We have a sqlDataSource with simple select command. When i pass it to a table as a datasource, everything is ok, the data is displayed correctly. But when i try to pass as AvailableValues.DataSource the same sqlDataSource, it's appear as  empty comboBox, there is no available values. How i can resolve this problem? I use Q32010 (version 4.2.10.1119) . I'll be gratefull for help!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Feb 2011, 02:03 PM
Hi Iurie Coroban,

In addition to AvailableValues.DataSource property you have to set the AvailableValues.ValueMember and AvailableValues.DisplayMember properties. For more information check out the How-To: Add Report Parameters help article. If you still experience any difficulties we will appreciate if you open a support ticket and send us a sample runnable project that exhibits the issue to debug locally.

Kind regards,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Iurie Coroban
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or