Report Viewer
- Last UpdatedJun 22, 2023
- 4 minute read
Use Report Viewer control to view reports in your form.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
Description |
Description for the control. |
|
Report Name |
Name that identifies the report. Note: This property is applicable only if the Report View Option in the Report Configuration is set to Popup. |
|
Report Configuration |
Configure the report view. To configure the report view
|
Appearance
|
Property |
Description |
|---|---|
|
Visible |
Show or hide the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Width |
Width in pixels for the control. The default value is 0. Note: If the value is 0, then the width of the control is set as per the default values. |
|
Height |
Height in pixels for the control. The default value is 0. Note: If the value is 0, then the height of the control is set as per the default values. |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
|
Custom Style Sheet Identifier |
Prefix for the CSS class name in the custom style sheet. For information about using custom style sheets, see Custom Styles. Note: The value must start with an alphabet and can contain only alphanumeric characters. |
Advanced
|
Property |
Description |
|---|---|
|
On Data Change |
Run a script when value of the control changes. For more information, see scripting guidelines for On Data Change property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
Scripts
For information about using scripts, see scripting guidelines for Report Viewer control.
Note:
- The Report Viewer control is currently not supported in mobile devices.
- When a parameter of a Report in SSRS is defined with Specified Default Values and
if any of the default values specified does not exist in the Available Values of the
parameter, then none of the valid default values is selected. For example, if the
Available Values for the Report Parameter is specified as 1, 2, 3, 4 and the Default
Values for the Report Parameter is specified as 3, 4, 5, 6; the Report displayed in
the Report Viewer control does not consider the valid Default Values for the parameter.
- When a Boolean Parameter has Available and Default Specified values, you can define
only one default value and two Available values. The value should be either true or
false.
- DateTime Multiple Values Parameter type is not supported.
- In the SSRS Report Builder, set the Report with the Language property to =User!Language. This will display the Report in the Report Viewer control as per the locale or language of the web application.