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
Copy file name to clipboardExpand all lines: docs/reporting-services/report-viewer-web-part-programmability-in-sharepoint-integration.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,21 @@ manager: "erikre"
22
22
The Report Viewer Web Part is a server control, which contains a set of public application programming interfaces (API) that enables developers to create custom SharePoint applications. You can create custom Web Parts that supply report path and parameters to Report Viewer Web Part using Web Part connections. You can also embed the Web Part in a custom SharePoint Web Part page and customize it using the public API.
23
23
24
24
## Connecting to Report Viewer Web Part with Custom Web Parts
25
-
The Report Viewer Web Part is a connection consumer to SharePoint Web Parts that implement <xref:System.Web.UI.WebControls.IWebPartRow> or T:Microsoft.SharePoint.WebPartPages.IFilterValues. An <xref:System.Web.UI.WebControls.IWebPartRow> Web Part, such as the **Documents** Web Part can supply a report path to a Report Viewer Web Part when placed on the same Web Part page as the Report Viewer Web Part. Likewise, an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part, such as the **Text Filter** or the **Choice Filter**, can supply a report parameter to a Report Viewer Web Part when placed on the same Web Part page as the Report Viewer Web Part.
25
+
The Report Viewer Web Part is a connection consumer to SharePoint Web Parts that implement <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> or T:Microsoft.SharePoint.WebPartPages.IFilterValues. An <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> Web Part, such as the **Documents** Web Part can supply a report path to a Report Viewer Web Part when placed on the same Web Part page as the Report Viewer Web Part. Likewise, an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part, such as the **Text Filter** or the **Choice Filter**, can supply a report parameter to a Report Viewer Web Part when placed on the same Web Part page as the Report Viewer Web Part.
26
26
27
27
### Implementing a Report Path Provider with IWebPartRow
28
28
To supply a report path to the Report Viewer Web Part through Web Part connections, do the following:
29
29
30
-
1. Create a Web Part that implements the <xref:System.Web.UI.WebControls.IWebPartRow> interface.
30
+
1. Create a Web Part that implements the <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> interface.
31
31
32
32
2. Add the Web Part to the same Web Part page as the Report Viewer Web Part.
33
33
34
34
3. Connect your Web Part to the Report Viewer Web Part in the Web-based Web Part design user interface.
35
35
36
36
> [!NOTE]
37
-
> You can only connect one <xref:System.Web.UI.WebControls.IWebPartRow> Web Part to the Report Viewer Web Part at a time, and you cannot connect both an <xref:System.Web.UI.WebControls.IWebPartRow> Web Part and an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part to the Report Viewer Web Part at the same time.
37
+
> You can only connect one <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> Web Part to the Report Viewer Web Part at a time, and you cannot connect both an <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> Web Part and an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part to the Report Viewer Web Part at the same time.
38
38
39
-
For your <xref:System.Web.UI.WebControls.IWebPartRow> Web Part to work properly with the T:Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportViewerWebPart, you must do the following in the <xref:System.Web.UI.WebControls.IWebPartRow.GetRowData%2A> method:
39
+
For your <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> Web Part to work properly with the T:Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportViewerWebPart, you must do the following in the <xref:System.Web.UI.WebControls.WebParts.IWebPartRow.GetRowData%2A> method:
40
40
41
41
- Invoke the callback method with a <xref:System.Data.DataRowView> object as the input parameter.
42
42
@@ -57,6 +57,6 @@ manager: "erikre"
57
57
3. Connect your T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part to the Report Viewer Web Part in the Web-based Web Part design user interface.
58
58
59
59
> [!NOTE]
60
-
> You can connect multiple T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Parts to the Report Viewer Web Part at a time. However, you cannot connect both an <xref:System.Web.UI.WebControls.IWebPartRow> Web Part and an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part to the Report Viewer Web Part at the same time.
60
+
> You can connect multiple T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Parts to the Report Viewer Web Part at a time. However, you cannot connect both an <xref:System.Web.UI.WebControls.WebParts.IWebPartRow> Web Part and an T:Microsoft.SharePoint.WebPartPages.IFilterValues Web Part to the Report Viewer Web Part at the same time.
0 commit comments