Report Viewer Template: Dropdown list for Multi Select Parameter

2 posts, 0 answers
  1. Jim
    Jim avatar
    6 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2014 Link to this post

    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
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 10 Oct 2014 Link to this post

    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.

     
Back to Top