Search results
Suggest a FeaturePDF

Textbox custom properties

This topic explains about the list of textbox report item custom properties that are supported to render in ASP.NET Core Report Viewer.

Show or hide toggle icon in text box report item

The ToggleHidden custom property is used to show or hide the toggle icon in the textbox. You can set the ToggleHidden property value, as shown in the below.

Shows configuration of toggle hidden property in custom property dialog

Before setting the toggle hidden property, the default value will be displayed as below.

Preview of default toggle value in textbox report in Report Viewer

Preview the report and the see the toggle icon is hidden in the report.

Preview of toggle hidden in textbox report in Report Viewer

Customizing the textbox content in preview

The ContentEditable custom property allows to edit the textbox content in preview. You can set the ContentEditable property value, as shown below:

Shows configuration of content editable property in custom property dialog

Before setting the content editable property, the textbox appears non-editable as shown below.

Preview of content editable in textbox in Report Viewer

Preview the report and can see the textbox within the report is editable.

Preview of textbox editable in textbox report in Report Viewer

Set round border to text box report item

The Border-Radius custom property allows to add rounded corners to the textbox. The property takes value in pixels.

You can set the Border-Radius property value as shown below,

Shows configuration of border radius property in custom property dialog

Before setting the border radius property, the text box border has been displayed with solid corners as shown below,

Preview of default border in textbox report in Report Viewer

After setting the border radius property, see how the rounded border applied to the textbox.

Preview of round border in textbox report in Report Viewer

The Border-Radius property is also applicable to other report items such as table, chart, map, image, rectangle, sub report and gauges.

However, there are some limitations,

  • The line report item does not support this behavior.
  • Rounded borders are not supported in the Word, Excel, PPT, XML and CSV Export.
  • Rounded borders for the table report item are supported only in the Report viewer preview and HTML export.
  • The border-radius property is applied to all four edges, individual border radius values for each edge are not supported.