How To: Change Parameter Editors Type
The article elaborates how to change the default parameters editors types for visible parameters in the HTML5 Viewer's Parameters Area.
The parameters editors types are defined through the Parameters element when creating the Telerik Report Viewer widget. The available parameter editors on which the type could be changed are:
SingleSelectEditor - where the parameter multivalue is set to “false” and has availableValues. For more information please see parameter.
The available editor types are - ListView and ComboBox. The default value is ListView.
MultiSelectEditor - where the parameter multivalue is set to “true” and has availableValues. For more information please see parameter
The available editors types are - ListView and ComboBox. The default value is ListView.
The following example illustrates how to set the Parameters method to the Telerik Report Viewer widget.
<telerik:ReportViewer Width="" Height="" EnableAccessibility="false" ID="reportViewer1" runat="server"> ... <Parameters> <Editors SingleSelect="ComboBox" MultiSelect="ComboBox"></Editors> </Parameters> </telerik:ReportViewer>
The Telerik Report Viewer Parameters element is optional. If it is not used, the Telerik Report Viewer will fall back to the default values.