Class ParameterEditors
Represents a configuration class that provides properties for initializing parameter editors of the HTML5 WebForms ReportViewer. Used to specify JavaScript function names that will handle different types of report parameters and create appropriate input controls in the HTML5 viewer interface.
Inheritance
Namespace: Telerik.ReportViewer.Html5.WebForms
Assembly: Telerik.ReportViewer.Html5.WebForms.dll
Syntax
public class ParameterEditors
Remarks
Enables customization of parameter editing experience by allowing assignment of specific JavaScript editors for different parameter types and scenarios.
Constructors
ParameterEditors()
Initializes a new instance of the ParameterEditors class with default settings and an empty custom editors collection.
Declaration
public ParameterEditors()
Properties
BooleanEditor
Gets or sets the name of the JavaScript function that will handle Boolean parameters in the HTML5 viewer.
Declaration
public string BooleanEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for boolean parameter input controls such as checkboxes or toggle buttons for true/false values.
CustomEditors
Gets or sets a collection of custom parameter editors that can handle specialized parameter scenarios in the HTML5 viewer.
Declaration
public List<CustomParameterEditor> CustomEditors { get; set; }
Property Value
|
System.Collections.Generic.List<CustomParameterEditor>
|
Remarks
Custom editors are evaluated before all other editors in the specified order, allowing for complex parameter scenarios like MultiValue DateTime parameters.
DateTimeEditor
Gets or sets the name of the JavaScript function that will handle DateTime parameters in the HTML5 viewer.
Declaration
public string DateTimeEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for date and time parameter input controls with appropriate date picker functionality.
DefaultEditor
Gets or sets the name of the JavaScript function that will handle parameters that don't match any specific type or scenario.
Declaration
public string DefaultEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used as a fallback editor for parameters that don't have specific editors assigned in the HTML5 viewer.
MultiSelectEditor
Gets or sets the name of the JavaScript function that will handle parameters with available values and MultiValue set to true.
Declaration
public string MultiSelectEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for parameters that allow multiple selections from a predefined list of available values in the HTML5 viewer.
MultiValueEditor
Gets or sets the name of the JavaScript function that will handle parameters with MultiValue set to true but without provided available values.
Declaration
public string MultiValueEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for parameters that allow multiple values but don't have a predefined list of available values in the HTML5 viewer.
NumberEditor
Gets or sets the name of the JavaScript function that will handle Numeric parameters in the HTML5 viewer.
Declaration
public string NumberEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for numeric parameter input controls including integers, decimals, and other numeric types.
SingleSelectEditor
Gets or sets the name of the JavaScript function that will handle parameters with available values and MultiValue set to false.
Declaration
public string SingleSelectEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for parameters that allow single selection from a predefined list of available values in the HTML5 viewer.
StringEditor
Gets or sets the name of the JavaScript function that will handle String parameters in the HTML5 viewer.
Declaration
public string StringEditor { get; set; }
Property Value
|
System.String
|
Remarks
Used for text-based parameter input controls for string value entry.