HTML5 Telerik Reporting DropDown

3 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Sep 2014

    Posted 27 Jan 2015 Link to this post

    The default formatting for HTML5 using Kendo is a select list instead of a drop down.  There is an article here (http://www.telerik.com/help/reporting/html5-report-viewer-howto-custom-parameter-editor.html) that shows how to turn them into dropdowns.  The only problem is when you have cascading parameters (http://www.telerik.com/help/reporting/designing-reports-parameters-cascading-report-parameters.html)  When you change the first dropdown the values of the second dropdown update but the first dropdown's display does not change. I'm trying to figure out how to resolve this issue. I've attached my report to show the cascading parameters.

    Thank you
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 30 Jan 2015 Link to this post

    Hi Michael,

    Please test to configure the kendoDropDownList on beginInit as follows:
    beginEdit: function (param) {
     
                                       parameter = param;
     
                                       $(dropDownElement).kendoDropDownList({
                                           dataTextField: "name",
                                           dataValueField: "value",
                                           value: parameter.value,
                                           dataSource: parameter.availableValues,
                                           change: onChange,
                                            
                                       });
     
                                       dropDownList = $(dropDownElement).data("kendoDropDownList");
                                   }


    I hope the 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.

     
  3. Michael
    Michael avatar
    3 posts
    Member since:
    Sep 2014

    Posted 30 Jan 2015 in reply to Stef Link to this post

    Thank you,
    Adding the { value: parameter.value } to the kendoDropDownList resolved the issue.
Back to Top