This document describes how to add controls to a report.
Use the DX.19.2: Report Controls tab in Visual Studio's Toolbox to add controls to your report.
If you don't see Report Controls on the Toolbox, see How to resolve issues with Toolbox items for more information.
You can drag fields from the Field List onto your report to add data-bound controls, after you bound your report to a datasource.
Drag a field from the Field List and drop it onto the report's surface.
To add a control of specific type, do either of the following:
This invokes a context menu where you can select which control to add.
Hold the CTRL or SHIFT key and click several fields. Drop them onto the report's surface to add a table with its cells bound to these fields.
Drop an entire data table from the Field List to add a report table with columns bound to the data table's fields.
To add column headers, do either of the following:
This adds a new table whose cells display the field names.
You can add text and graphics from external applications to your reports:
Drag a file, text or image from an external application onto your report.
Copy a file, text or image from an external application, and paste it into your report.
The following table shows which file types transform into report controls:
An XRLabel control that contains file contents.
.DOC, .DOCX, .RTF, .HTM, .HTML
An XRRichText control that contains file content.
.JPG, .PNG, .BMP, .GIF, .TIF, .SVG
An XRPictureBox control that contains the image.