New to Telerik ReportingStart a free 30-day trial

Parameter Overview

Represents a report parameter with its value and settings.

JSON
{
	"name": "p2",
	"id": "p2",
	"type": "System.String",
	"text": "Please input p2",
	"multivalue": false,
	"allowNull": false,
	"allowBlank": false,
	"isVisible": true,
	"autoRefresh": false,
	"hasChildParameters": false,
	"childParameters": ["p2"],
	"availableValues": [
			{"name": "Sofia", "value": "Sofia"}
			{"name": "Berlin", "value": "Berlin"}
	],
	"value": "Sofia"
	"label": "Sofia",
}

Fields

FieldTypeRequiredDescription
nameStringtrueThe name of the report parameter
idStringtrueParameter identifier
typeStringtrueA string representing the type of the report parameter
textStringtrueThe prompt text that will be displayed for the parameter
multivalueBooleantrueSpecifies whether the parameter value is an Array of values or a single value
allowNullBooleantrueSpecifies whether a value for the parameter is required or optional
allowBlankBooleantrueSpecifies whether an empty string is a valid parameter value. Applicable for parameter of type string only
isVisibleBooleantrueSpecifies whether the parameter should be displayed in the viewer
autoRefreshBooleantrueSpecifies whether changes of the parameter value should trigger a report refresh
hasChildParametersBooleantrueSpecifies whether the current parameter has other parameters depending on it
childParametersArrayfalseSpecifies the child parameters IDs. Contains String objects
availableValuesArrayfalseParameter values to choose from. ContainsParameterValueobjects
valueArray / Boolean / Date / Number / StringtrueThe value of the parameter. Its type should match the type in the definition. If multivalue is set to true it must be an Array
labelStringtrueSpecifies the label of the parameter. If availableValues are set, the label value is replaced by the name of the currently selected ParameterValue
Not finding the help you need?
Contact Support