[{"id":"425f2be4-b65d-4cdf-b543-fb4397f51672","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"a1041c29-1f9f-497e-b577-3e673e487c51","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"c1e3b2a0-7159-4980-a5e1-4fbb04c7fcc1","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"128acbbc-5c49-416b-9c1f-91f679362b23","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"3bc7a653-1dd3-4a33-b35c-41b0ddc2f446","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"cecedb46-bf12-401c-a04c-5282e11b8274","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"2f1768df-3e8b-41c2-826e-93f1a82273d1","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"d9528848-3bae-42c1-8f6d-410a78341cef","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"2683b3de-5c23-429d-9a88-4917616d20ad","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"b96827a0-6bd4-4184-86a4-6fe503d0e4b4","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"96d2140c-5bb6-49b6-a4c7-4af4b7de2e52","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"11f27d32-9547-4a8c-9e88-5dd2bffffeda","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"d186bc7e-cbae-4d23-9cd9-a54880be8e4d","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"26754bf1-707e-4815-b6d3-dcdc87a59188","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"e4c0a89e-cceb-4863-a30a-dff94f1d8d08","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"c4f826a6-5d16-4399-8f1a-7b8449594941","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"ff2b9815-2596-47f7-8793-3585c9ee24a2","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"46851ce2-51a2-4af4-969d-9fe989997135","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"e3e87330-5250-4923-9cdf-e7e8afd353ab","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"a04db983-f77b-4ec6-857c-1c01afaed85a","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"434eed34-9059-46e4-88f9-15e47d09622c","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"30988f2a-ebd5-4a8c-b20e-54a11a528d30","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"a59719c8-0df2-44e1-b89c-9d8fa0312857","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"4be1ecee-287b-43a2-ba99-cfa89de88187","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"ea04cced-7866-48e5-a5fe-1e9f11004d59","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"ab17d080-0112-4ba4-8dae-ef367bec7b78","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]}]
When creating a parameter, its Data Type
specifies the kind of values that the parameter can contain. Any non-hidden parameters can have their values adjusted by a report reader through the Parameters Panel located in the Report Viewer component. Each data type comes with a default editor:
Boolean
parameters use radio buttons.
Date
and DateTime
parameters utilize a calendar control.
Integer
, String
, and Float
parameters use a textbox.
You have the ability to construct a custom parameters view. This will be displayed in the Parameters Panel of the Report Viewer and is managed via the Parameters
tab of the Report Designer:
When a report contains parameters, you can begin crafting the parameters view by clicking on the Generate View
button situated on the toolbar. Alternatively, you can also use the Generate
button found in the prompt:
Executing this action will establish default editors for the report parameters along with a Preview
button. From here, you're able to configure these automatically generated controls or replace them with new ones by clicking or dragging and dropping items from the sidebar.
Once these controls are integrated into the parameters view, their properties can be adjusted using the Properties panel found on the designer's right side.
Each control features Location and Size
properties that can be altered either by manually moving the control with the mouse or keyboard, or by directly inputting the Left
, Top
, Width
, and Height
values in the Properties panel.
There are two types of layouts you can construct using controls:
Free-Form Layout: This layout allows you to manually set the location and size of each control.
Vertical Stack Layout: Controls are automatically arranged from top to bottom and resized. The only variable you can set is the order of the items.
You can set the controls order for the Vertical Stack Layout by clicking the Vertical Layout
button, located on the Parameters View toolbar.
The layout type selection depends on the location of the Parameters Panel in the Report Viewer Component:
If the location is set to top
or bottom
, the Free-Form Layout will be applied.
If the location is set to default
or auto
, the Vertical Stack Layout will be utilized.
The available controls can be categorized into two groups:
Editors
are linked to parameters and are utilized to set parameter values. All editors have the Label/Text
and the Label/Display
properties that determine the content and the position of the prompt that displays alongside the editor. The properties in the Bound Parameter
values allows setting the Default Value
, Nullable
, Allow Blank(for String parameters only)
and Multiline(for String parameters only)
properties for the bound parameter. Below you can find the detailed description of available editors and their properties.
Supplemental
controls Heading
, Plain Text
, and Button
serve to display additional information and perform actions.
Simple value editors facilitate the modification of parameter values that do not have pre-set Available Values
. This allows users to input any values they desire.
The Text Editor
provides an input box that is typically used for parameters of the String
type. However, by utilizing the Binding
property, it can be associated with any type of parameter, as numbers, boolean values, and date values can all be manually inputted. The Placeholder
property is used to display a prompt within the input box when it is empty.
The Number Editor
can be bound to parameters of Integer
and Float
types. The Type
property defines the editor type, allowing you to choose between an Up-Down editor
(default) or a Slider
. The Min
, Max
, and Step
properties can be set for both types of editors, defining the minimum value, maximum value, and increment of value when the up/down buttons are clicked or the slider is moved. The Up-Down
editor also supports manual value input, and a Placeholder
property can be defined to display a prompt within the input box when it's empty. If the Round Input To Step
flag is set, any manually entered value will be rounded to the nearest multiple of the step value.
The Boolean Editor
can be bound to a Boolean
type parameter. The Type
property determines the editor type, with Toggle
, Checkbox
, or Radio
as options. For the Checkbox
, you can define the Text
to be displayed next to the checkmark. For both Toggle
and Radio
, you can set the text for the True
and False
values. Additionally, the Radio
editor's Layout
can be set to either Horizontal
or Vertical
.
The Multivalue
Editor enables manual entry of values for multi-value parameters of any type. This editor is specifically applicable for parameters that do not have Available Values
configured.
The DateTime Editor
can be associated with parameters of Date
and DateTime
types. The only available editor for these types is a calendar.
Range editors enable users to define values for two distinct parameters, which represent the lower and upper boundaries of a range.
The Number Range
editor takes the form of a slider with two handles. It includes From
and To
binding properties that can be associated with Integer
and Float
parameters. The Min
, Max
, and Step
properties allow you to specify the minimum value, maximum value, and the value increment that occurs when adjusting the slider.
The Date Range
editor is a calendar feature allowing the selection of a Start Date
and an End Date
. These can be bound to their corresponding parameter values using the From
and To
properties. Additionally, the Max Range
property stipulates the maximum duration of the range, while the View Mode
property sets the scale of the range selection, available in days (default), months, or years.
Selection Editors are elements that present a list of options to the report reader. The reader can select one or multiple values from this list, depending on the Multivalue
flag of the bound parameter. Note that these editors are only applicable when the parameter has Available values
configured.
The List
Editor organizes the Available values
into a list, which can be arranged either horizontally or vertically. The choice between horizontal and vertical orientation can be made via the Layout
property. For horizontal lists, an additional property, Columns
, exists that determines how many columns the values will be divided into.
The Dropdown
Editor offers a dropdown-style presentation of the Available values
.
Supplemental controls include Heading
, Plain text
, and Button
.
The Heading
and Plain text
controls are used to display static text. These controls allow for the selection of four different color styles: Accent
, Error
, Warning
, or Default
. Additionally, the Heading
control can include a strikethrough line, and the Plain text
control can be configured to display multiple lines.
The Button
control serves to facilitate various actions. Preview
executes the report with the parameters as currently set. Reset
reverts the parameters to their default values. Clear
removes all values from the input controls.