[{"id":"bf522b5c-b992-4910-b9a3-7d4c6a711342","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"fd92c740-60f2-42bc-b108-133c0baaec15","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"1809c8ed-488b-4fb9-b402-aabe76f0c6d2","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"8aa13734-ff9b-43f5-b44f-de331adbb3d7","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"8faaa45c-575e-4bf0-9034-634fac906bb8","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"56faca6f-14d3-42b0-9706-7df8e339ef70","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"eb780c12-7575-42ef-916d-9d1d66cd0152","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"3918314b-5267-494d-b520-203125daf2a2","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"97d3eeb1-76c4-4c11-bc62-db5413d6819f","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"e93f9124-e327-4056-9264-f62378c3ebb5","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"90683712-67eb-49c8-96cb-96a228a99d11","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"cf1d42c1-fe4a-4f31-83f7-97c9c7ea9b76","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"e6222e08-3705-44f2-9027-b80b72dd3a85","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"5f8d0a4e-e3c5-4f38-91ee-c0d4aa8f116d","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"1ab019cd-705f-4371-a3f3-f2925cf92826","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"2ebee074-0c53-44bf-89c4-c0deb0d210f7","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"488a368a-fad1-4022-8e64-03442a912d2c","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"9aa35d28-77db-4dbd-ade0-17163a1782be","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"5a8c2832-0b00-47dc-aa9c-2579f4d9e04c","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"c19b5fcc-8f2a-4f44-9eeb-345cbb4815a6","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"92556861-b9b0-454e-a493-4750e9d90d2c","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"5ca1a599-fa29-4d8a-8cb4-80352932149f","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"7a947fc6-0187-4b9d-b9cc-800def67c597","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"b74ce673-ba64-42ea-b124-fc006b6b727e","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"a201d71e-7541-4e64-ac8b-3ed714e41a81","tags":[{"product":null,"links":null,"id":"fe610228-9cf6-417f-813a-dcbfd25406c3","name":"upd","color":"#7e678a","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]},{"id":"9efb31b1-f5f2-4214-a36d-c3415649a7a0","tags":[{"product":null,"links":null,"id":"4d7b6a40-ab32-4c71-a381-58f3ffd2653e","name":"new","color":"#ed7422","productId":"d699a6af-e150-4da3-ab30-25fd97934601"}]}]
        
(Showing Draft Content)

Parameters view

General

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.

Custom Parameters View

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:

image

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:

image

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.

image


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.

image

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.

Parameters View Layout

There are two types of layouts you can construct using controls:

  1. Free-Form Layout: This layout allows you to manually set the location and size of each control.

  2. 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.

Parameters Views controls

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

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.

Text Editor

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.

Number Editor

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.

Boolean Editor

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.

Multivalue Editor

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.

DateTime Editor

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

Range editors enable users to define values for two distinct parameters, which represent the lower and upper boundaries of a range.

Number 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.

Date Range

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

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.

List Editor

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

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.