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

HTML5 Telerik Reporting DropDown

2 Answers 311 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 27 Jan 2015, 10:56 PM
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 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 30 Jan 2015, 02:12 PM
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.

 
0
Michael
Top achievements
Rank 1
answered on 30 Jan 2015, 10:32 PM
Thank you,
Adding the { value: parameter.value } to the kendoDropDownList resolved the issue.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Stef
Telerik team
Michael
Top achievements
Rank 1
Share this question
or