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

Report Viewer Template: Dropdown list for Multi Select Parameter

1 Answer 593 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 08 Oct 2014, 07:45 PM
I am wondering if there is guidance on editing the Report Viewer template html file. I see the section for the multi-select parameter but if I change it to anything other than a list I get a java script error that "var children = listView.element.children();" saying 
"jquery-1.10.2.js:7093
Uncaught TypeError: Cannot read property 'element' of null "

I would like to use a multi-select dropdown list instead of just a list, as we have over 100 items in the parameter options.

Thanks,

Jim

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 10 Oct 2014, 11:54 AM
Hello Jim,

The viewer's template files(the HTML, CSS and JS files) generate widgets based on the type of report parameters, which should be visible. You can override the default behavior and specify custom parameters editors, with customized behavior, which will suit your requirements.

Consider the example in the How To: Create a custom parameter editor article
. With the given example in the article, it is enough to substitute the name of the widget to kendoMultiSelect to get the new parameter's editor in action.

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.

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