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

Dropdown Parameter

2 Answers 130 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dwayne Starkey
Top achievements
Rank 1
Dwayne Starkey asked on 18 Nov 2010, 06:23 PM
I have a drop down parameter that list 2000+ items. Is there a way to limit this and function like your combobox. For example have the user type and auto find using a like statement that brings back the top 50 items.


thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 24 Nov 2010, 10:10 AM
Hello Dwayne Starkey,

The Report Parameter area is made to provide out of the box support UI for the parameters that covers 98% of the user cases and for that reason it is not customizable. In order to gain better flexibility, our suggestion is to set the parameters visibility to false and add your custom UI for the parameter's. How to set a multivalue report parameter from your web application is shown in the following code snippet:

protected void Page_Load(object sender, EventArgs e)
{
    var report1 = new Report1();
    report1.ReportParameters["Parameter1"].Value = new object[] { 1, 2 };
    ReportViewer1.Report = report1;
}

Greetings,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Dwayne Starkey
Top achievements
Rank 1
answered on 24 Nov 2010, 04:48 PM
Thanks
Tags
General Discussions
Asked by
Dwayne Starkey
Top achievements
Rank 1
Answers by
Peter
Telerik team
Dwayne Starkey
Top achievements
Rank 1
Share this question
or