Reporting Services Properties
The following properties are available for Reporting Services objects, grouped by the categories shown in the View Property Sets editor.
Appearance
| Property | Type | Default | Description |
|---|---|---|---|
string |
The text that appears on the view tab or title bar after the view builds or refreshes. If no value is specified, the CaptionBeforeBuild value is used. If no CaptionBeforeBuild value is specified, the view name is used. The value can be tokenized, which allows the caption to reflect the current context. For example, if the view has selectors and the CaptionAfterBuild contains a token for each of the selectors, the caption after the view is built or refreshed reflects the selections represented by the view data. See also: CaptionBeforeBuild |
||
string |
The text that appears on the view tab or title bar when the view is opened and before the view builds for the first time. If no value is specified, the view name is used as the caption. The value can be tokenized. See also: CaptionAfterBuild |
Behavior
| Property | Type | Default | Description |
|---|---|---|---|
bool |
false |
Controls whether only a single instance of the view can be opened by the user from the view selector. When the setting is True, only a single instance is allowed. When the user attempts to open another instance of the view from the view selector, the existing view’s window is activated. |
|
bool |
false |
Controls whether the view can be saved by a user. If true, the Save View As and Save View button tools are enabled. |
|
bool |
false |
||
bool |
false |
Controls whether the view automatically builds when opened. If true, the view automatically builds, but only if the view is buildable. Whether or not the view is buildable is based on the view state. For instance, if a view has selectors and each selector has a selection, the view is buildable. |
Report Parameters
Report Server
| Property | Type | Default | Description |
|---|---|---|---|
string |
Path to the report on the report server. |
||
string |
The report server’s URL. |
Report Viewer
| Property | Type | Default | Description |
|---|---|---|---|
ProcessingMode |
ProcessingMode.Remote |
Gets or sets the processing mode of the ReportViewer control. |
|
bool |
true |
Controls whether the ReportViewer control’s prompt area is collapsed. |
|
bool |
true |
Controls whether the Back button is visible on the control. |
|
bool |
true |
Controls whether the Context menu is visible. |
|
bool |
true |
Controls whether prompts for user credentials will be displayed. |
|
bool |
true |
Controls whether the Document Map button is visible on the control. |
|
bool |
true |
Controls whether the Export button is visible on the control. |
|
bool |
true |
Controls whether the Find text box is visible on the control. |
|
bool |
true |
Controls whether the page navigation controls are visible. |
|
bool |
true |
Controls whether parameter prompts are visible. |
|
bool |
true |
Controls whether Print button is visible. |
|
bool |
true |
Controls whether progress animation is displayed during report processing. |
|
bool |
true |
Controls whether the Prompt Area button is visible. |
|
bool |
true |
Controls whether the Refresh button is visible. |
|
bool |
true |
Controls whether the Stop button is visible. |
|
bool |
true |
Controls whether the Toolbar is visible. |
|
bool |
true |
Controls whether the Zoom text box is visible. |
|
ZoomMode |
ZoomMode.Percent |
Gets or sets the zoom mode of the control. |
|
int |
100 |
Gets or sets the percentage of zoom used for the report display. |
Selectors
| Property | Type | Default | Description |
|---|---|---|---|
List<SelectorInfo> |
Controls which selectors are displayed for the view and specifies configuration settings for each selector, including 1) the selector list and the connection used to populate the selector, 2) a toggle that controls whether the user is allowed to select multiple items from the selector, and 3) an optional caption that overrides the default caption. |
||
SelectorControlUIDisplayMode |
SelectorControlUIDisplayMode.DockedControl |
Controls whether a docked pane or a modal dialog contains the user-interface control that displays the selectable items. The setting is only applicable to selectors that display the items in a user-interface control, such as a treeview or listbox, when the user clicks the 'Show' button on the selector tool. DockedControl — Displays a pane that contains the user-interface control. The pane is docked the first time the user clicks the 'Show' button. The docked location is specified by the SelectorDockedControlLocation. If multiple selector user-interface controls are docked, each is displayed as a separate tab in the pane. LockedDockedControl — Same as a DockedControl, except that the user cannot move the control to a different docked location. ModalDialog — Displays a modal dialog that contains the user-interface control. The dialog is displayed each time the user clicks the 'Show' button, and must be closed by the user. See also: SelectorDockedControlLocation |
|
DockedControlGroupStyle |
DockedControlGroupStyle.Tabbed |
The layout of the group of dockable selector user-interface controls. The setting is only applicable when the SelectorControlDisplayMode is set to DockedControl. Tabbed - Each selector control is displayed as a tabbed window within the group. Only the content of the selector control that is displayed in the active tab is visible. Stacked - The selector controls are displayed as stacked tiles. SlidingHeaders - Each selector control is represented by a button and only the content of the active selector control is visible. A selector control is activated by pressing its button. SideBySide - The selector controls displayed as side-by-side tiles. The combination of the SelectorDockedControlLocation and SelectorDockedControlGroupStyle settings determines the location and layout of the selector controls. See also: SelectorControlUIDisplayMode, SelectorDockedControlLocation |
|
DockedControlLocation |
DockedControlLocation.Right |
The initial docked location for dockable selector controls. The setting is only applicable when the SelectorControlDisplayMode is set to DockedControl. |
|
LastUsedItemContextScope |
LastUsedItemContextScope.BySelector |
Controls the caching of the item(s) selected when the view is built. The cache is used to determine the default selected item(s) for the selectors that are assigned a selector list with a DefaultSelectionPolicy of LastUsedItem. With BySelector, the cache is shared by all views configured with the BySelector context. With ByView, the cache is used only by this view. With ByLabel, the cache is shared by all views configured with the ByLabel context and assigned the same SelectorLastUsedItemContextLabel as this view. |
|
string |
The context label used when the SelectorLastUsedItemContext is set to ByLabel. Views that are assigned the same label share the same default selections. |
Status Information
| Property | Type | Default | Description |
|---|---|---|---|
StatusBarContentAlignment |
StatusBarContentAlignment.Center |
Controls the alignment of the progress text within the progress text area on the status bar. ProgressTextAlign is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowProgressText |
|
bool |
true |
Controls whether the progress text is displayed in the status bar. ShowProgressText is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ProgressTextAlign |
|
bool |
true |
Controls whether the status bar is displayed in the view window. See also: ShowStatusIcon, ShowStatusText, ShowProgressText, ProgressTextAlign |
|
bool |
true |
Controls whether the status icon is displayed in the status bar. ShowStatusIcon is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowStatusText |
|
bool |
true |
Controls whether a status icon is displayed on the view window tab. |
|
bool |
true |
Controls whether the status text is displayed in the status bar. ShowStatusText is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowStatusIcon |
|
string |
Ready to Build |
The text displayed in the status bar to indicate the view is buildable as determined by the view state. For instance, a view that has selectors is typically considered buildable when each selector has a selected item. |
|
string |
Cancelled |
The text displayed in the status bar to indicate the view was cancelled. |
|
string |
Error |
The text displayed in the status bar to indicate a view operation failed. |
|
string |
Information |
The text displayed in the status bar to indicate that the status details contain information. The details are displayed when the Details button is clicked. |
|
string |
Not Ready to Build |
The text displayed in the status bar to indicate the view is not buildable as determined by the view state. |
|
string |
Ready |
The text displayed in the status bar to indicate a view operation is complete. |
|
string |
Waiting for Server Response |
The text displayed in the status bar to indicate the view is waiting for a response from the server. |
|
string |
Warning |
The text displayed in the status bar to indicate that the status details contain a warning. The details are displayed when the Details button is clicked. |
|
string |
Working |
The text displayed in the status bar to indicate a view operation is processing. |
UI
| Property | Type | Default | Description |
|---|---|---|---|
string |
The ID of the toolbars configuration that defines the view-specific menus and tools. At run-time, the menus and tools are merged with the application menus and tools. See also: ViewToolbarsConfigurationID |
||
string |
The ID of the toolbars configuration that defines the view-specific menus and tools displayed within the view window. See also: MergeableToolbarsConfigurationID |
||
string |
The object type ID of the Windows form that contains the user-interface controls used to display the view data. This is a required setting. |