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

Styling report parameters section

5 Answers 329 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 20 May 2009, 11:07 AM
Is it possible to style report parameters section.

I want to put some labels on there  and plus change backgroud of dropdown lists ,also  to play with the width  and height of parameters entry textbox/dropdownlist ?

Thanks in advance

Regards

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 May 2009, 11:37 AM
Hello Ali,

Currently it is not possible to style the built-in parameters area of Telerik Reporting. If you need to do that, you would have to create your own UI that you hook up to the report API.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jonathan
Top achievements
Rank 1
answered on 08 Aug 2010, 10:43 PM
Any progress on this?
0
Steve
Telerik team
answered on 09 Aug 2010, 05:49 PM
Hello Jonathan,

There seems to be some confusion - we have not stated in our previous post that we would work on introducing a way for styling the report area. In fact at the moment we do not have plans for the development of such feature so we cannot commit a timeframe for it.
If you want to style the parameters area, please create your own UI for this purpose and use the product API to hook it to the report.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jonathan
Top achievements
Rank 1
answered on 09 Aug 2010, 06:42 PM
OK thanks :-)  What I like was that this section would generate automatically based on the report parameters as I create the report using Activator.getinstance based on the type returned form the name passed in on the querystring to the reportviewer:

Type reportType = Type.GetType("CorpsNETServer." + reportName + ", CorpsNETServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null");
Telerik.Reporting.Report report = (Telerik.Reporting.Report)Activator.CreateInstance(reportType);
this.ReportViewer1.Report = report;


I guess I could parse the report object and figure out the parameters and display accordingly.  I'll have to think about that one.  Got an example?

Cheers
Jonathan
0
Milen | Product Manager @DX
Telerik team
answered on 12 Aug 2010, 03:12 PM
Hello Jonathan,

In this case your task gets quite complicated as you really should examine the settings of each report parameter of the provided report and render appropriate editor.

The only example we may provide on this matter is the Telerik Reporting source code itself, as it deals with the same task (the viewers are not aware of the parameters in each report they render).

Just to mention that our XAML based viewers do provide a standard way to be custom styled: Creating Style in Expression Blend

Best wishes,
Milen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Ali
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jonathan
Top achievements
Rank 1
Milen | Product Manager @DX
Telerik team
Share this question
or