You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often one or more reports that are part of a report book will contain report parameters. The report book is shown as a single document in the report viewer and the parameters area represents the visible report parameters defined in all child reports.
14
+
Often, one or more reports that are part of a report book will contain report parameters. The report book is shown as a single document in the report viewer and the parameters area represents the visible report parameters defined in all child reports.
15
15
16
16
Telerik Reporting provides a mechanism known as parameter merging. If the [`Name`](/api/Telerik.Reporting.IReportParameter#Telerik_Reporting_IReportParameter_Name) and [`Type`](/api/Telerik.Reporting.IReportParameter#Telerik_Reporting_IReportParameter_Type) of two (or more) parameters from different reports are the same, then they are considered equivalent and are displayed as a single parameter in the viewer's Parameters Area.
17
17
18
-
>note When one or more parameters are merged the UI settings of the __first__ one are used for the generated input control in the parameters area.
18
+
>note When one or more parameters are merged, the UI settings of the __first__ one are used for the generated input control in the parameters area.
19
19
20
20

21
21
22
22
You can control parameter merging via the [`Mergeable`](/api/Telerik.Reporting.IReportParameter#Telerik_Reporting_IReportParameter_Mergeable) boolean property of the `ReportParameter` class. The default value of the `Mergeable` property is true. Set the `Mergeable` property to `false` if you want to prevent a parameter from being merged with its equivalent ones.
23
23
24
24

25
25
26
-
## Passing Values for Report Parameters in a Reportbook through ReportSource
26
+
## How to set a value for a report parameter in ReportBook
27
+
28
+
In the sample pictures below, you will see in few steps how to set a value for a report parameter in ReportBook using Standalone Designer. For this example, the **Dashboard.trdp** and **Product Sales.trpd** reports are used, which can be found in the installation folder - **C:\Program Files (x86)\Progress\Telerik Reporting 2025 Q1\Report Designer\Examples**.
29
+
30
+
### In Standalone Designer
31
+
32
+
1. Click on the **Dashboard.trdp**
33
+
1. From the Toolbar, click on the **Parameters**
34
+
1. The **Edit Parameter** window will open, then select New
35
+
36
+

37
+
38
+
### Web Report Designer
39
+
40
+
1. In Report Sources, click on the `uriReportSources1 `
41
+
1. Next to Parameters, you will see a plus sign(+). Click on it.
42
+
1. In the `Add New Item` window, you will be able to set the name and value of the parameter.
43
+
44
+

45
+
46
+

47
+
48
+
## Passing Values for Report Parameters in a Reportbook through ReportSource Programatically
27
49
28
50
*__When report parameters have unique names or the target parameters are merged:__ If a parameter is distinguishable by its Name property or the Name denotes several merged parameters, refer to the parameter directly by the value of its Name property.
*__When report parameters have repeating names but they are not merged:__ In this case, you need to refer to the individual occurrence of the parameter in a particular report. This is done by denoting the target report by its zero-based index inside the report book.
*__When report parameters have repeating names but they are not merged:__ In this case you need to refer to the individual occurrence of the parameter in a particular report. This is done by denoting the target report by its zero-based index inside the report book.
87
+
' Passing a value for Not mergeable report parameter targeting the FIRST report in the report book
>note If you do not use the specified syntax and you refer to the report parameter directly by the `Name` property's value, the value will be set only for the _first_ occurrence of report parameter in the report book.
96
+
>note If you do not use the specified syntax and you refer to the report parameter directly by the `Name` property's value, the value will be set only for the _first_ occurrence of the report parameter in the report book.
0 commit comments