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.

Definition

Namespace:Telerik.ReportViewer.Html5.WebForms

Assembly:Telerik.ReportViewer.Html5.WebForms.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ParameterEditorsConverter))]
public class ParameterEditors

Inheritance: objectParameterEditors

Constructors

ParameterEditors()

Initializes a new instance of the ParameterEditors class with default settings and an empty custom editors collection.

Declaration

cs-api-definition
public ParameterEditors()

Properties

BooleanEditor

Gets or sets the name of the JavaScript function that will handle Boolean parameters in the HTML5 viewer.

Declaration

cs-api-definition
public string BooleanEditor { get; set; }

Property Value

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

cs-api-definition
[PersistenceMode(PersistenceMode.InnerProperty)]
public List<CustomParameterEditor> CustomEditors { get; set; }

Property Value

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

cs-api-definition
public string DateTimeEditor { get; set; }

Property Value

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

cs-api-definition
public string DefaultEditor { get; set; }

Property Value

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

cs-api-definition
public string MultiSelectEditor { get; set; }

Property Value

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

cs-api-definition
public string MultiValueEditor { get; set; }

Property Value

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

cs-api-definition
public string NumberEditor { get; set; }

Property Value

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

cs-api-definition
public string SingleSelectEditor { get; set; }

Property Value

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

cs-api-definition
public string StringEditor { get; set; }

Property Value

string

Remarks

Used for text-based parameter input controls for string value entry.