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

Group Parameters

2 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 15 Oct 2014, 01:27 AM
We have reports that use two date parameters as a from and to date input into these reports.   When these date inputs appear on the MVC report site, we want to display as a group.  So in other words, we would like to have a common name (for example "Date Range") above the date input parameters with "From" in front of one and "To" in front of the  other.    Would there be a good way to group parameters so that our javascript can easily format the DOM, or is there a way to create a custom control that the Report designer will recognize and hence have a template within the website specific to this custom control that would style the date range as mentioned?  

Attached is a visual example of what we want to achieve. 

2 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 17 Oct 2014, 09:09 AM
Hello Randy,

The HTML5 Report Viewer is a client-side HTML5/CSS3/JS widget, served by a running Reporting REST service, which is dedicated to work with the viewer. The viewer's template files (JS, CSS and HTML) can be customized with more elements, or you can use Javascript to attach elements on loading the page.

For more details, please check  the Customizing the HTML5 Report Viewer help section.
Note there is an option to customize report parameters' editors, where the settings are per editor, not groups of editors.

Also you can use the HTML5 Report Viewer's events exposed as of Telerik Reporting Q2 2014 SP1 version 8.1.14.804 to know when to update the viewer's parameters area.


Another approach is to use a custom UI for report parameters, and pass the user selection as in the How To: Pass values to report parameters article.


I hope the above information is helpful.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Randy
Top achievements
Rank 1
answered on 17 Oct 2014, 05:07 PM
Thank you.  That was our obvious assumption as well.  Your confirmation is highly appreciated.   
Tags
General Discussions
Asked by
Randy
Top achievements
Rank 1
Answers by
Stef
Telerik team
Randy
Top achievements
Rank 1
Share this question
or