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

Telerik Reporting

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 13 Jun 2012, 10:14 AM
We are using Telerik reporting and we would like to customize the look of the ReportViewer.


We have managed to change the basic skin, but we still need to modify the presentation of the Parameter Area that is auto-generated.


The parameter area seems to be generated by this web request: /Telerik.ReportViewer.axd?instanceID=xxxx&optype=Parameters


How can we modify the way that the web handler is formatting the editors for each parameters? It is placing each parameter in a table with two columns, which does not look good. We need to control where the parameter dropdowns are placed (at least in a table with 3 or 4 columns, not fixed to 2).


Any help would be appreciated

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Jun 2012, 12:14 PM
Hello Joseph,

The built-in report parameters' purpose is to provide basic UI that is available out of the box and that is enough for most scenarios. For other cases, when you require customization, you can hide all report parameters (Visible=false), create custom parameter area and wire it up to the Report API e.g.:

Telerik.Reporting.ReportSource report = (Telerik.Reporting.ReportSource)this.ReportViewer1.ReportSource;
report.Parameters.Add("MyReportParameter", TextBox1.Text);

where TextBox1 is for example your UI for handling  MyReportParameter parameter.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

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