Microsoft.ReportViewer.WinForms
The namespace contains methods and properties for the ReportViewer Windows forms control.
Provides data for the Back event.
Constructs a new BackEventArgs object.
The parent report of the drillthrough report.
Gets the parent report of the drillthrough report.
A (if the ReportViewer control is in local processing mode) or object (if the ReportViewer control is in remote processing mode) containing the parent report of the drillthrough report.
Represents the method that will handle the event of a .
The object that raised the event.
A object that contains the event arguments.
Provides data for the event.
Constructs a BookmarkNavigationEventArgs object.
The bookmark identification string.
Gets the bookmark identification string.
A read-only string object.
Represents the method that will handle the event of a .
The object that raised the event.
A object that contains the event arguments.
Represents errors that occur when the control is rendering a processed report from report page layout (RPL) format into GDI+ format.
Provides a stream to the ReportViewer control for rendering.
A Stream object to which the ReportViewer control can write data.
The name of the stream.
The file name extension to use if a file stream is being created.
An Encoding enumerator value specifying the character encoding of the stream. This may be null if the stream does not contain characters.
A string containing the MIME type of the stream.
A Boolean value indicated whether the stream needs to support seeking. If the value is false, the stream will be forward-only and will be sent to the client in chunks as it is created. If the value is true, the stream may be written in any order.
Represents data source credentials.
Constructs a DataSourceCredentials object.
Gets or sets the user name to be used by the data source for connecting to a report server.
A string value.
Gets or sets the password to be used by the data source for connecting to the report server.
A string containing the password.
Gets or sets the user identification to be used by the data source for connecting to the report server.
A string containing the user ID.
Represents a collection of objects.
Initializes a new instance of the class.
Gets the object of the specified name from the collection.
A object.
Name of the object. This parameter is not case sensitive.
Represents a possible display mode for the ReportViewer control.
Specifies that the control is in normal mode. This mode causes the control to display logical pages.
Specifies that the control is in print layout mode. In this mode, the control displays physical pages.
Provides data for the event.
Construct a new DocumentMapNavigationEventArgs object.
A string containing the document map node ID.
Gets the unique identifier of the document map node selected.
A read-only string value containing the document map node ID.
Represents the method that will handle the event of a .
The object raising the event.
A object containing the event arguments.
Represents a single node in the document map.
Gets a collection of child document map nodes.
A read-only array of objects.
Gets the unique identifier of the document map node.
A read-only string value.
Gets the label associated with the document map node.
A read-only string value.
Provides data for the event.
Constructs a new DrillthroughEventArgs object.
The path of the drillthrough report.
The target report of the drillthrough action.
Gets the target report of the drillthrough action.
A read-only or object.
Gets the path of the drillthrough report.
A read-only string value.
Represents the method that will handle the event of a .
The object that raised the event.
A object that contains the event data.
Represents the method that will handle the event.
The object firing the event.
A class containing the arguments for the event.
Contains information about a event.
Gets the URL that the user clicked on in a report.
A string value containing the hyperlink.
Represents the method that will handle a event.
The object that raised the event.
A object that contains the arguments for this event.
Allows objects to provide credentials to use for connecting to a report server.
Provides forms authentication to be used to connect to the report server.
A Boolean value. A value of true indicates that forms authentication should be used.
[out] A report server authentication cookie.
[out] The name of the user.
[out] The password of the user.
[out] The authority to use when authenticating the user, such as a Microsoft Windows domain.
Specifies the user to impersonate when connecting to a report server.
A WindowsIdentity object representing the user to impersonate.
Returns network credentials to be used for authentication with the report server.
A NetworkCredentials object.
Allows applications to provide customized user interface messages.
Provides the ToolTip text for the Back button.
A string value.
Provides the text for the Back menu item.
A string value.
Provides the text for the Change Credentials button.
A string value.
Provides the ToolTip text for the Current Page text box.
A string value.
Provides the ToolTip text for the Document Map button.
A string value.
Provides the text for the document map menu item.
A string value.
Provides the ToolTip text for the Export button.
A string value.
Provides the text for the Export menu item.
A string value.
Provides the text for a false value.
A string value.
Provides the text for a Find button.
A string value.
Provides the ToolTip text for the Find button.
A string value.
Provides the text for the Find Next button.
A string value.
Provides the ToolTip text for the Find Next button.
A string value.
Provides the ToolTip text for the First Page button.
A string value.
Provides the ToolTip text for the Last Page button.
A string value.
Provides the ToolTip text for the Next Page button.
A string value.
Provides the text for the no more matches message.
A string value.
Provides the text for the Null check box.
A string value.
Provides the ToolTip text for the Null check box.
A string value.
Provides the text for a null value.
A string value.
Provides the text for the pagination message.
A string value.
Provides the ToolTip text for the Page Setup button.
A string value.
Provides the text for the Page Setup menu item.
A string value.
Provides the ToolTip text for the Parameter Area button.
A string value.
Provides the text for the password prompt.
A string value.
Provides the ToolTip text for the Previous Page button.
A string value.
Provides the text for the Print button.
A string value.
Provides the ToolTip text for the Print Layout button.
A string value.
Provides the text for the Print Layout menu item.
A string value.
Provides the text for the Print menu item.
A string value.
Provides the text for the progress message that is displayed when a report is processing.
A string value.
Provides the ToolTip text for the Refresh button.
A string value.
Provides the text for the Refresh menu item.
A string value.
Provides the ToolTip text for the Search text box.
A string value.
Provides text for the Select All item in a multivalue drop-down list box.
A string value.
Provides text for the Select a value prompt.
A string value.
Provides the ToolTip text for the Stop button.
A string value.
Provides the text for the Stop menu item.
A string value.
Provides the text for the text not found message.
A string value.
Provides the ToolTip text for the Total Pages item.
A string value.
Provides the text for a true value.
A string value.
Provides the text for the user name prompt.
A string value.
Provides the text for the View Report button.
A string value.
Provides the ToolTip text for the View Report button.
A string value.
Provides the ToolTip text for the Zoom control.
A string value.
Provides the text for the Zoom menu item.
A string value.
Provides the text for the Zoom To Page Width option.
A string value.
Provides text for the Zoom To Whole Page item.
A string value.
Defines methods and properties for implementing customized user interface messages.
Returns the error text to display when the user name has not been supplied for the data source credentials.
Returns a String that contains the error text to display when the user name has not been supplied for the data source credentials.
The prompt value that identifies which data source is missing a value.
Returns a localized name for the current export format.
Returns a String that contains the localized name for the current export format.
The name of the current export format (for example, EXCEL, PDF).
Returns the error text to display when a selection has not been made for a multivalue report parameter.
Returns a String that contains the error text to display when a selection has not been made for a multivalue report parameter.
The prompt value that identifies which report parameter has not been specified.
Returns the error text to display when a report parameter has not been specified.
Returns a String that contains the error text to display when a report parameter has not been specified.
The prompt value that identifies which report parameter has not been specified.
Gets the text for the All Files filter option in the Save As dialog box when a report is exported.
A String that contains the text to display for the All Files filter option in the Save As dialog box when a report is exported.
Gets the ToolTip text to display when a pointer pauses over a report parameter with a data type of DateTime.
A String that contains the ToolTip text to display when a pointer pauses over a report parameter that has a data type of DateTime.
Gets the title text for the dialog box when an error occurs exporting a report.
A String that contains the title text for the dialog box when an error occurs exporting a report.
Gets the ToolTip text to display when a pointer pauses over a report parameter with a data type of Float.
A String that contains the ToolTip text to display when a pointer pauses over a report parameter that has a data type of Float.
Gets the title text for the dialog box if an error occurs when the user selects a Hyperlink in the report.
A String that contains the title text for the dialog box if an error occurs when the user selects a Hyperlink in the report.
Gets the ToolTip text to display when a pointer pauses over a report parameter with a data type of Integer.
A String that contains the ToolTip text to display when a pointer pauses over a report parameter that has a data type of Integer.
Gets the title text for the message box dialog box displayed by the report viewer.
A String that contains the title text for the message box dialog box displayed by the report viewer.
Gets the text to display when the processing of a report has been stopped.
A String that contains the text to display when the processing of a report has been stopped.
Gets the title text for the dialog box when an error occurs in the prompt area.
A String that contains the title text for the dialog box when an error occurs in the prompt area.
Gets the ToolTip text to display when a pointer pauses over a report parameter with a data type of String.
A String that contains the ToolTip text to display when a pointer pauses over a report parameter that has a data type of String.
Allows applications to provide customized user interface messages.
Returns the string in the default toolbar that represents the total number of pages in the current report and the that was used to determine it.
A localized string that represents the total number of pages and the page count mode.
The total number of pages in the current report.
Indicates whether the pageCount parameter represents an estimated or actual number of pages.
Gets the text of the Cancel link in the wait control.
A string value that represents the Cancel link text.
Gets the text displayed on the Cancel button in the Exporting dialog box after the user selects an export format.
A string value that represents the text of the Cancel button.
Gets the text displayed in the Exporting dialog box after the user selects an export format and that indicates that the export is in progress and the user must wait for it to complete.
A string value that indicates that an export is in progress and that the user needs to wait for it to complete.
Gets the title of the Exporting dialog box that opens after the user selects an export format.
A string value that specifies the title of the Exporting dialog box.
Gets the tooltip text for the radio button that indicates false for a Boolean parameter.
A string value that represents the tooltip text for the radio button that indicates false for a Boolean parameter.
Gets the tooltip text for the radio button that indicates true for a Boolean parameter.
A string value that represents the tooltip text for the radio button that indicates true for a Boolean parameter.
Represents errors that occur while viewing a locally processed report.
Represents a report that is processed and rendered locally without connecting to a report server.
Initializes a new instance of the class.
Occurs when a subreport is processed.
Adds the supplied assembly to the list of assemblies that run in full trust mode in the sandboxed application domain.
The name of the assembly to be added.
Adds the supplied assembly to the list of assemblies that are trusted to execute in the current .
The name of the assembly to be added.
Releases all resources that are used by the object.
Causes processing extensions and expressions in the report to be executed in the current .
An object that contains security information about the report.
Causes processing extensions and expressions to be run in an application domain with limited permissions.
Returns the names of all datasets used within the local report.
An array of string objects that contain the list of dataset names.
Gets the default page settings specified in the local report.
A object that contains the default page settings for the local report.
Returns report parameter properties for the report.
A object that contains a collection of objects.
Returns the total number of soft pages in the report and a enumeration value that indicates the current page count mode.
An integer value containing the total number of soft pages in the report. For more information on soft pages, see Understanding Rendering Behaviors.
[out] A enumeration value that indicates the page count mode used to calculate the total number of soft pages.
Returns all available rendering extensions for the local report.
An array of objects.
Loads a report definition from the local file system using a .
A class that contains the report definition for the local report.
Loads a subreport definition using a .
The path and file name of the subreport definition.
A class that can be used to read the report definition language (RDL) file for the subreport.
Loads a subreport definition using a .
The path and file name of the subreport definition.
A object that will contain the report definition language (RDL) for the subreport.
Causes the local report to be rendered with new data.
Causes the object to release its reference to the sandboxed application domain immediately.
Processes the report and renders it in the specified format using a stream provided by a callback function.
The format in which to render the report. This argument maps to a rendering extension. Supported formats include Excel, PDF, Word, and Image. To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
A delegate function that will be used to provide a object for rendering.
[out] An array of objects that describes any warnings that occurred during report processing and rendering.
Processes the report with a specified page count mode and renders it in the specified format using a stream provided by a callback function.
The format in which to render the report. This argument maps to a rendering extension. Supported formats include Excel, PDF, Word, and Image. To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
A enumeration value that specifies the page count mode.
A delegate function that will be used to provide a object for rendering.
[out] An array of objects that describes any warnings that occurred during report processing and rendering.
Processes the report with a specified page count mode and renders it in the specified format.
A array of the report in the specified format.
The format in which to render the report. This argument maps to a rendering extension. Supported formats include Excel, PDF, Word, and Image. To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
A enumeration value that specifies the page count mode.
[out] The MIME type of the rendered report.
[out] The encoding used when rendering the contents of the report.
[out] The file name extension used for the output file.
[out] The stream identifiers. You can use them to render external resources (images, for example) that are associated with the report.
[out] An array of objects that describes any warnings that occurred during report processing and rendering.
Sets the base permissions for the sandboxed application domain with the supplied permission set.
The to set. The default base permission is Execution.
Sets report parameter properties for the local report.
An of objects that contains a list of the report parameter properties.
Gets a collection of data sources used by the report.
A read-only object.
Indicates whether the report can be rendered if it has external images.
A Boolean value. A value of true indicates that the local report can be rendered if it has external images. The default value is false.
Indicates whether the report can be rendered if it contains hyperlink actions.
A Boolean value. A value of true indicates that the report can be rendered if it contains hyperlink actions. The default value is false.
Returns the parameters passed from a parent report to this report, if it is a drillthrough report.
An of objects that represent the parameters passed from the parent reports to the drillthrough report, or an empty collection if this report is not a drillthrough report.
Gets or sets the name of the report-embedded resource.
A string containing the name of the embedded resource.
Gets or sets the file system path of the local report.
A string value.
Gets or sets a boolean value that indicates whether detailed messages should be displayed when an error occurs in a subreport.
true if detailed messages should be displayed; otherwise, false. The default is true.
Represents an exception that occurs when credentials have not been supplied for a data source used by a report.
Represents the error that occurs when a data source expected by the report has not been supplied.
Represents the error that occurs when the SOAP endpoint used by the ReportViewer control could not be accessed.
Represents the exception that occurs when a parameter expected by the report has not been supplied.
Represents the exception that occurs when no report source has been specified.
Represents values that control whether to calculate the actual page count or use an estimate.
Calculate the actual page count for the report.
Provide an estimate of the page count for the report instead of calculating the actual page count.
Provides data for a event.
Constructs a new PageNavigationEventArgs object.
An integer value containing the new page number.
Gets the number of the page resulting from the event.
An integer value containing the new page number.
Represents the method that will handle the event of a .
The object that raised the event.
A object that contains the arguments for this event.
Specifies the data type of a parameter.
A Boolean data type that represents a true or false condition.
A DateTime data type that represents the date and time.
A Float data type that represents a floating point decimal value.
An Integer data type.
A String data type that represents an array of characters.
Specifies the state of a parameter.
The parameter values are unavailable. This state indicates that no valid, query-based values were returned as a result of the query.
The parameter has outstanding dependencies. This generally occurs when the valid values or the default value of a parameter is query-based and dependencies exist that have not been submitted to the method.
A valid value for the parameter exists.
A valid value for the parameter does not exist.
Sets the processing mode of the ReportViewer control.
Specifies that the report will be processed and rendered using the reporting engine provided by the ReportViewer control.
Specifies remote processing mode against a Reporting Services report server.
Provides data for the event.
Contains an object if an exception has occurred.
An object if an exception has occurred during report rendering, or null if no exception has occurred.
Gets a list of warnings produced during report processing or rendering.
A collection of objects if warnings have occurred; otherwise a null value.
Represents the method that will handle the event of a .
The object that raised the event.
A object that contains information about the event.
Encapsulates a rendering extension that can be used with the Report Viewer's report.
Gets the localized display name of the rendering extension.
A read-only String value.
Gets the name of the rendering extension.
A read-only String value.
Indicates whether the rendering extension is visible in the user interface.
A Boolean value.
Contains methods and properties that can apply to both local and server reports.
Gets the default page settings specified in the report.
A object containing the default page settings for the local report.
Returns the representation of the document map for the local report.
A object containing the top level node of the document map hierarchy for the report.
Returns report parameter properties for the report.
A collection of objects.
Returns the total number of soft pages in the report.
An integer value containing the total number of soft pages in the report. For more information on soft pages, see Understanding Rendering Behaviors.
Returns the total number of soft pages in the report and a value that indicates the current page count mode.
An integer value containing the total number of soft pages in the report. For more information on soft pages, see Understanding Rendering Behaviors.
[out] A enumeration value that indicates the page count mode that was used to calculate the total number of pages.
Returns all available rendering extensions for the local report.
An array of objects.
Loads a report definition for processing using a .
A class that contains the report definition for the report.
Loads a report definition for processing using a .
A class that contains the report definition for the report.
Causes the report to be rendered with new data.
Processes the report and renders it in the specified format.
A byte array of the report in the specified format.
The format in which to render the report. This parameter maps to a rendering extension In local processing mode, supported extensions are Excel, PDF, Word, and Image. In remote processing mode, supported extensions depend on the extensions supported by the report server.You can access the list of available rendering extensions using the ListRenderingExtensions method in or , depending on the processing mode (see ).
Processes the report and renders it in the specified format.
A byte array of the report in the specified format.
The format in which to render the report. This parameter maps to a rendering extension. In local processing mode, supported extensions are Excel, PDF, Word, and Image. In remote processing mode, supported extensions depend on the extensions supported by the report server.You can access the list of available rendering extensions using the ListRenderingExtensions method in or , depending on the processing mode (see ).
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
Processes the report and renders it in the specified format.
A array of the report in the specified format.
The format in which to render the report. This argument maps to a rendering extension. In local processing mode, supported extensions are Excel, PDF, Word, and Image. In remote processing mode, supported extensions depend on the extensions supported by the report server.You can access the list of available rendering extensions using the ListRenderingExtensions method in or , depending on the processing mode (see ).
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
[out] The MIME type of the rendered report.
[out] The encoding used when rendering the contents of the report.
[out] The filename extension used for the output file.
[out] The stream identifiers. You can use them to render the external resources (images, etc.) that are associated with the report.
[out] An array of objects that describes any warnings that occurred during report processing.
Processes the report with the specified value and renders it in the specified format.
A byte array of the report in the specified format.
The format in which to render the report. This parameter maps to a rendering extension. In local processing mode, supported extensions are Excel, PDF, Word, and Image. In remote processing mode, supported extensions depend on the extensions supported by the report server.You can access the list of available rendering extensions using the ListRenderingExtensions method in or , depending on the processing mode (see ).
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
A enumeration value that specifies the page count mode.
[out] The MIME type of the rendered report.
[out] The encoding used when rendering the contents of the report.
[out] The filename extension used for the output file.
[out] The stream identifiers. You can use them to render the external resources (images, etc.) that are associated with the report.
[out] An array of objects that describes any warnings that occurred during report processing.
Sets report parameter properties for the report.
An array of objects that contains a list of the report parameters properties.
Sets report parameter properties for the report.
A object.
Gets or sets the display name of the report.
A String containing the report's display name.
Indicates whether the report is a drillthrough report.
A Boolean value. A value of true indicates that this is a drillthrough report.
Gets a Boolean value that indicates whether a report definition and all required parameters have been specified, and all data sources are ready for use.
true if a report definition and all required parameters have been specified, and all data sources are ready for use; otherwise, false. The default is false.
Provides data for the event.
Gets a collection of .
A collection of objects.
Represents the method that will handle a event.
The source of the event.
A that contains the event data.
Represents a data source for a report.
Constructs an empty data source.
Constructs a named data source.
The name of the data source.
Constructs a named data source with a object in the property.
The name of the data source, as specified in the report definition for the current report.
A object that contains the data.
Constructs a named data source with a object in the property.
The name of the data source, as specified in the report definition for the current report.
A object that contains the data.
Constructs a named data source with an object in the property.
The name of the data source, as specified in the report definition for the current report.
An object that contains the data.
Constructs a named data source with a value.
The name of the data source.
A value for the data source.
Constructs a named data source with the property initialized as a particular type.
The name of the data source, as specified in the report definition for the current report.
A object that contains the data.
Gets or sets the name of the report data source.
A String containing the name of the data source.
Gets or sets the instance of the report data source.
An Object containing an instance of the report data source.
Contains a collection of objects.
Returns a report data source from the collection that matches a specified name.
A object.
The name of the report data source to retrieve from the collection.
Represents information about a report data source.
Gets the name of the report data source.
A String containing the name of the report data source.
Gets a prompt for the data source.
A String containing a prompt for the data source.
Represents a collection of objects.
Returns a specific object from the collection.
A object.
The name of the object to return.
Provides data for the event.
Returns an Exception object containing information about the report error.
An Exception object containing information about the report error.
Indicates whether the host application has handled the error.
A Boolean value indicating whether the host application has handled the error. The default value is false.
Represents the method that will handle a event.
The object that raised the event.
A object that contains information about the event.
Provides data for the report event.
Constructs a ReportExportEventArgs object.
A used for exporting the report.
Gets or sets an XML string that contains the device-specific content that is required by the rendering extension specified in the Extension parameter.
A String value containing the device-specific information.
Returns a used for exporting the report.
A object.
Represents the page settings for a report.
Indicates whether the orientation of the report as defined in the report definition file is landscape.
true if the orientation of the report as defined in the report definition file is landscape; otherwise, false.
Represents the margins for a report page. Read-only.
A read-only Margins object containing margin information about the report page.
Represents the paper size settings for a report page. Read-only.
A read-only PaperSize object containing information about report page size.
Represents a parameter for a report.
Instantiates a new ReportParameter.
Instantiates a new ReportParameter with a name.
The name of the parameter.
Instantiates a new ReportParameter with a name and a value.
The name of the parameter.
The value of the parameter.
Instantiates a new multivalued ReportParameter with a name.
The name of the parameter.
The values of the parameter.
Instantiates a new ReportParameter with a name, a value, and a visibility flag.
The name of the parameter.
The value of the parameter.
Determines if the parameter is displayed in the user interface.
Instantiates a new ReportParameter with a name, multiple values, and a visibility flag.
The name of the parameter.
The values of the parameter.
Determines if the parameter is displayed in the user interface.
Gets or sets the name of the parameter.
A String value.
Gets a collection of String objects containing one or more values for the parameter.
A StringCollection object.
Determines whether the parameter can be displayed in the user interface.
A Boolean value.
Represents a collection of objects.
Initializes a new instance of the class.
Gets an object in the collection by its name.
A with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).
The name of the object to get. This is the value of the property.This parameter is not case sensitive.
Encapsulates information about report parameters.
Indicates whether an empty string is a valid value for the parameter. Read-only.
A read-only Boolean value.
Indicates whether the default values of the parameter are based on a query. Read-only.
A read-only Boolean value.
Indicates whether the parameter's valid values are based on a query. Read-only.
A read-only Boolean value.
Gets the data type of the parameter. Read-only.
A read-only value.
Gets a list of parameters whose values are used to retrieve additional parameter values in a query. Read-only.
A read-only .
A list of parameters that use the value of this parameter as parameters into queries to retrieve and/or .
A read-only .
Gets the error message that is returned when the parameter fails validation. Read-only.
A read-only String containing the text of the error message.
Indicates whether the parameter is used in a query to an external data source. Read-only.
A read-only Boolean value.
Indicates whether the parameter can be a multi-value parameter. Read-only.
A read-only Boolean value.
Gets the name of the parameter. Read-only.
A String containing the name of the parameter.
Indicates whether the value of the parameter can be null. Read-only.
A read-only Boolean value.
The text that prompts the user to provide parameter values.
A String containing the text of the prompt.
Indicates whether the user is prompted for the value of the parameter.
A read-only Boolean value.
Describes the state of the parameter. Read-only.
A read-only value.
Gets the available valid values for the parameter. Read-only.
A read-only array of objects.
Gets the values for the parameter.
A read-only list of String values.
Determines whether the parameter can be displayed in the user interface.
A Boolean value.
A collection of objects.
Returns a named item from the ReportParameterInfoCollection.
A object from the collection.
The name of the item to retrieve.
Provides data for the event.
Gets a value indicating whether the event is triggered by the automatic submission of report parameters due to dependencies between them.
true if the event is triggered by the automatic submission of report parameters; false if it is triggered by the user clicking the View Report button.
Gets the parameters from the parameter prompt area that are being submitted to the report server.
A object containing the parameter values submitted by the user.
Represents the callback method that will handle the event.
The source of the event.
A that contains the event data.
Provides data for the and events.
Gets or sets the printer settings to use for the current operation.
A object that contains the printer settings.
Represents the method that will handle the and events.
The source of the event.
A that contains the event data.
Represents the error that occurs when a report contains a security violation.
Specifies the credentials for the ReportViewer control to use when connecting to a report server.
Returns a Boolean value indicating whether forms authentication will be used when connecting to the report server, as well as information about the forms credentials to be used for authentication.
Returns true if forms authentication is to be used when connecting to the report server. Information about the credentials to be used for forms authentication is returned via the out parameters used in the method call.
[out] An authentication cookie used by the report server.
[out] The user name that will be used to connect to the report server.
[out] The password that will be used to connect to the report server.
[out] The authority to use when authenticating the user, for example, a Windows domain name.
Specifies that forms authentication is to be used when connecting to the report server and provides the forms credentials.
An authentication cookie used by the report server.
The user name that will be used to connect to the report server.
The password that will be used to connect to the report server.
The authority to use when authenticating the user, for example, a Windows domain name.
Specifies the user to impersonate when connecting to the report server.
A WindowsIdentity object encapsulating the user to impersonate when connecting to a report server.
Gets or sets the network credentials used for authentication with the report server.
A NetworkCredentials object containing the network credentials used for authentication with the report server.
Represents errors that occur while connecting to a report server and also errors that occur on the report server while processing a server report or rendering the report to the report page layout (RPL) format.
Returns the error code from the exception.
A String value containing the error code returned by the report server, or null if the connection attempt to the report server is unsuccessful.
Encapsulates the methods and properties used for the ReportViewer control.
Constructs a ReportViewer object.
Occurs when a user navigates back to a parent report from a drillthrough report.
Occurs when the user navigates to a bookmark in a report.
Occurs when a document map node is selected.
Occurs when a drillthrough item is selected in a report.
Occurs when a user clicks a hyperlink in a report.
Occurs when a user changes pages in a report.
Occurs when the margins or the page size for the current report in the ReportViewer control have changed.
Occurs when a user prints the report.
Occurs when the user clicks the Print button in the Print dialog box.
Occurs when the report in the ReportViewer begins rendering.
Occurs when the report finishes rendering.
Raised when an error occurs in the report.
Occurs when the user clicks the Export button.
Occurs when the report is refreshed.
This event occurs when the user clicks the Find or Find Next button, or when a search operation is invoked programmatically.
Occurs when the user activates a sort.
Occurs whenever the user interface state of the ReportViewer control changes.
Occurs when the user submits new data source credentials viaby using the built-in prompt area.
Occurs when parameter values are submitted to the report server.
Occurs when the user toggles the visibility of an item in the report.
Occurs when the user clicks the View button.
Occurs when the user changes the zoom level of the ReportViewer control.
A constant that represents the maximum number of pages in a report when the current page count mode is .
Stops background processing of the report.
A Boolean value. A value of true is returned if the background rendering has terminated. A value of false is returned if background rendering has not terminated after the amount of time specified in the millisecondsTimeout parameter has elapsed, or if the millisecondsTimeout parameter was set to 0.
The number of milliseconds to wait for the background rendering to terminate. A value of -1 waits forever. A value of 0 returns immediately without waiting for the rendering to terminate.
Clears the report view and fills it with the background color of the control.
Opens in the Exporting dialog box for a specific rendering extension.
if the user clicked the Cancel button; if the export operation failed; otherwise, .
The rendering extension to use for the export. Typically, youTo access the list of available rendering extensions, use using the ListRenderingExtensions method in or , depending on the processing mode (see ).
Opens in the export dialog box for a specific rendering extension.
if the user clicked the Cancel button; if the export operation failed; otherwise, .
The rendering extension to use for the export.Typically, youTo access the list of available rendering extensions, use using the ListRenderingExtensions method in or , depending on the processing mode (see ).
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
Opens in the Exporting dialog box for a specific rendering extension and specifies device information and saves the exported report to a file with the specified file name.
if the user clicked the Cancel button; if the export operation failed; otherwise, .
The rendering extension to use for the export.To access the list of available rendering extensions, use the ListRenderingExtensions method in or , depending on the processing mode (see ).
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
The name of the exported file. The user is prompted for a file name if this parameter is null.
Searches the report for the specified text string.
An integer value containing the page number on which the search string was found, or 0 if the search string was not found.
The search string.
The page number on which to start searching.
Continues the search for the specified text string.
An integer value containing the page number on which the search string was found, or 0 if the search string was not found.
Returns the page settings that are used to print the current report in the ReportViewer control or display it in print layout mode.
A object that contains the page settings that are used to print the current report in the ReportViewer control or display it in print layout mode, or null if the ReportViewer control has not yet processed a report.
Returns the total number of pages in the report.
An integer value containing the total number of pages in the report.
Returns the page count of the report and a value that indicates whether the page count is estimated or actual.
An integer value containing the total number of pages in the report.
[out] A enumeration value that indicates whether the return value should be treated as an estimate or actual page count. This value is always when is .
Moves the report to the specified bookmark.
The ID of the bookmark.
Moves to the specified area of the document map.
The ID of the document map node.
Opens the page setup dialog box.
A enumeration value. Possible values are and depending on how the user closed the dialog box.
Navigates the report viewer control back to the parent report from a drillthrough report.
Displays the Print dialog box.
if the user clicked the Cancel button or if the event is cancelled; if the user clicked the OK button.
Displays the Print dialog box.
if the user clicked the Cancel button or if the event is cancelled; if the user clicked the OK button.
A object, used to initialize the dialog box. Unlike in the , this object's page ranged properties, such as the , , and properties, are used by the ReportViewer to initialize the print range in the Print dialog box.
Causes the current report in the Report Viewer to be processed and rendered.
Resets the control to its default values.
Reverts the page settings for the current report in the ReportViewer control to the settings in the report definition.
Sets the control display to normal or print preview mode.
A enumeration value specifying which display mode to use. Valid values are Normal or PrintLayout.
Sets the page settings that are used to print the current report in the ReportViewer control or display it in print layout mode.
A object that contains the new page settings.This parameter must not be null.
Gets or sets the background color of the control's report area.
A value indicating the background color of the control's report area.
Gets or sets the background image of the ReportViewer control.
An Image object containing the background image for the control.
Gets or sets the layout for the background image of the ReportViewer control.
An ImageLayout object containing the layout for the background image of the ReportViewer control.
Gets or sets the border style of the ReportViewer control.
A BorderStyle value.
Gets or sets the current page of the ReportViewer control's active report.
An integer value containing the current page of the report. The default value is 0.
Gets a object that indicates which operations can currently be performed on the ReportViewer control, the status of the prompt area, and the status of the document map area.
A object.
Gets a value that indicates the current display mode of the ReportViewer control.
A object. The default value is .
Gets or sets the collapsed state of the document map.
A Boolean value. A value of true indicates that the document map is collapsed. The default value is false.
Gets or sets the width of the document map in pixels.
An integer value containing the width of the document map in pixels. The default value is 40.
Indicates whether the size of the document map panel is fixed or changes when the viewer resizes.
A Boolean value indicating whether the size of the document map panel is fixed. The default value is true.
Gets or sets a Boolean value that indicates whether to keep the report server session from expiring as long as ReportViewer is running.
true to keep the report server session from expiring; otherwise false. The default is true.
Returns the local report in the ReportViewer control.
A object containing the local report in the ReportViewer control.
Gets or sets an object that contains custom messages for use by the ReportViewer control.
An object that implements the interface.
Gets or sets a enumeration value that indicates the default page count mode to use when rendering a report in the report area.
A object. The default value is .
Gets or sets a object that contains the settings for the default printer and print options that are used to initialize the Print dialog and the printer's Preferences dialog.
A object.
Gets or sets the processing mode of the ReportViewer control.
A enumerator value of either Local or Remote. The default value is Local.
Gets or sets the collapsed state of the parameter prompt area or the credentials prompt area.
true if the prompt area is collapsed; otherwise, false. The default is false.
Gets the search text and the start page of the current report search operation.
A object, or null if there is not an ongoing report search operation.
Gets a server report in the Report Viewer.
A object containing the server report in the Report Viewer.
Indicates whether the Back button is visible on the control.
A Boolean value indicating the visibility of the Back button. The default is value true.
Indicates whether the Context menu is visible.
A Boolean value. The default is value true.
Indicates whether prompts for user credentials will be displayed.
A Boolean value. The default value is true.
Indicates whether the button that shows and collapses the document map is visible on the split bar.
true if the button is visible on the split bar; otherwise, false. The default is true.
Indicates whether the Export button is visible on the control.
A Boolean value. The default value is true.
Indicates whether the Find text box is visible on the control.
A Boolean value. The default value is true.
Indicates whether the page navigation controls are visible.
A Boolean value. The default value is true.
Indicates whether parameter prompts are visible.
A Boolean value. The default value is true.
Gets or sets a value that indicates whether the Print button is visible.
true if the buttons for the print functions are visible; otherwise, false. The default is true.
Indicates whether progress animation is displayed during report processing.
A Boolean value. The default value is true.
Indicates whether the button that shows and collapses the prompt area is visible on the split bar.
true if the button is visible on the split bar; otherwise, false. The default is true.
Indicates whether the Refresh button is visible.
A Boolean value. The default value is true.
Indicates whether the Stop button is visible.
A Boolean value. The default value is true.
Indicates whether the Toolbar is visible.
A Boolean value. The default value is true.
Indicates whether the Zoom list box is visible.
A Boolean value. The default value is true.
Gets or sets the used to customize the look and feel of the ReportViewer control's toolbar as well as the context menu on the report.
A object. By default, a object is returned.
Gets or sets the delay in milliseconds before the busy status indicator is displayed to the user.
An int value that specifies the time in milliseconds. The default value is 1000 (1 second).
Gets the page zoom that is calculated based on the zoom mode.
An integer that represents the calculated zoom percentage. The default value is 100.
Gets or sets the zoom mode of the control.
A enumerator value indicating the zoom mode of the control. The default value is 100%.
Gets or sets the percentage of zoom used for the report display.
An integer value containing the percentage of zoom.
Represents a collection of objects.
Represents errors that occur while viewing or configuring a report.
This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a collection of strings that contain custom headers.
Contains a set of read-only properties that indicate which operations are currently allowed in the ReportViewer control and the status of the prompt and document map areas.
Gets a Boolean value that indicates whether the prompt area of the ReportViewer control is currently visible.
true if the prompt area is currently visible; otherwise, false.
Gets a Boolean value that indicates whether the ReportViewer control has not started processing the report or has completed processing the report, and can change the display mode without canceling a report processing operation.
true if the ReportViewer control can change the display mode without canceling a report processing operation; otherwise, false.
Gets a Boolean value that indicates whether the currently displayed content will be affected by a zoom change.
true if the currently displayed content will be affected by a zoom change; otherwise, false.
Gets a Boolean value that indicates whether there is a previous search to continue and whether you can continue the previous search without canceling an existing report processing or interactive rendering operation.
true if the there is a previous search to continue and if you can continue the previous search without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether the report can be exported without canceling an existing report processing or interactive rendering operation.
true if the report can be exported without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether the current report is a drillthrough report and you can navigate back to its parent report without canceling an existing report processing or interactive rendering operation.
true if the current report is a drillthrough report and you can navigate back to its parent report without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether the property can be changed without canceling an existing report processing or interactive rendering operation.
true if the property can be changed without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether you can start printing the report without canceling an existing report processing or interactive rendering operation.
true if you can start printing the report without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether you can refresh the report data without cancelling an existing report processing or interactive rendering operation.
true if you can refresh the report data without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether you can search the report and highlight the search results without canceling an existing report processing or interactive rendering operation.
true if the you can search the report and highlight the search results without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether prompted parameters and prompted data source credentials can be submitted for the current report without canceling an existing report processing or interactive rendering operation.
true if prompted parameters and prompted data source credentials can be submitted for the current report without canceling an existing report processing or interactive rendering operation; otherwise, false.
Gets a Boolean value that indicates whether the current report has a document map and the document map can be displayed in the current display mode.
true if the current report has a document map and the document map can be displayed in the current display mode; otherwise, false.
Gets a Boolean value that indicates whether prompting is supported and there are prompts that can be displayed based on the visibility settings in the ReportViewer control. This property does not indicate whether the prompt areas are actually visible.
true if prompting is supported and there are prompts that can be displayed based on the visibility settings in the ReportViewer control; otherwise, false.
Gets a Boolean value that indicates whether ReportViewer is currently performing a potentially lengthy operation that can be canceled.
true if ReportViewer is currently performing a potentially lengthy operation that can be canceled; otherwise, false.
Gets a Boolean value that indicates whether the report has a document map and the document map is currently displayed.
true if the report has a document map and the document map is currently displayed; otherwise, false.
Gets a Boolean value that indicates whether the current processing mode supports prompting for parameters and data source credentials.
true if the current processing mode supports prompting for parameters and data source credentials; otherwise, false.
Provides data for a event in the ReportViewer control.
Constructs a SearchEventArgs object.
The search string.
The page on which to start searching.
Indicates that this event is occurring as a result of a Find Next command.
Indicates that this event is occurring as a result of a Find Next command.
A Boolean value. A value of true indicates that this event occurred because of a Find Next command.
Returns the search string being used for the search.
A String value containing the search string.
Returns the page number on which to start searching.
An integer containing the starting page number to search.
Represents the method that will handle a event.
The object that raised the event.
A object that contains information about the event.
Contains the search text and the start page of a search operation.
Gets the start page of the search operation.
An int value that represents the start page of the search operation.
Gets the search text.
A string that represents the search text.
Represents a report that is processed on the report server.
Initializes a new instance of the class.
Retrieves information about the data sources used for a report.
A that contains objects.
Retrieves information about the data sources used for a report, including whether all required credentials have been supplied for the report data sources.
A containing objects.
[out] Indicates whether all required credentials have been supplied for the data sources used by the server report.
Gets the default page settings specified in the report definition.
A object containing the default page settings for the local report.
Returns the current execution ID, or null (Nothing in Visual Basic) if no execution ID is available.
A String containing the execution ID.
Returns report parameter properties for the report.
A object containing an array of objects.
Returns the version of the report server.
A String value containing the server version information.
Returns the total number of soft pages in the report and a value that indicates the current page count mode.
An integer value containing the total number of soft pages in the report. For more information on soft pages, see Understanding Rendering Behaviors.
[out] A enumeration value that indicates the page count mode used to calculate the total number of soft pages.
Indicates whether the report can execute queries.
A Boolean value indicating whether the report can execute queries.
Returns all available rendering extensions for the server report.
An array of objects.
Loads the report definition on the report server for remote processing using a .
A class that can be used to read the Report Definition Language (RDL) file for the report.
Causes the report to be rendered with new data.
Renders the report with optional URL access parameters.
A containing the rendered report.
The format in which to render the report. This argument maps to a rendering extension. You can use any rendering extension available on the report server.To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
URL access parameters to pass to the report server. For more information, see the URL Access documentation in SQL Server Books Online.This parameter may be set to null.
[out] The MIME type of the rendered report.
[out] The file name extension used for the output file.
Renders the report with optional URL access parameters.
The format in which to render the report. This argument maps to a rendering extension. You can use any rendering extension available on the report server.To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
URL access parameters to pass to the report server. For more information, see the URL Access documentation in SQL Server Books Online.This parameter may be set to null.
The stream into which the rendered report will be written.
[out] The MIME type of the rendered report.
[out] The file name extension used for the output file.
Processes the report with the specified valuevalue and renders it in the specified format.
A array of the report in the specified format.
The format in which to render the report. This argument maps to a rendering extension. You can use any formatting extension available on the report server.To access the list of available rendering extensions, use the method.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
A enumeration value that specifies the page count mode.
[out] The MIME type of the rendered report.
[out] The encoding used when rendering the contents of the report.
[out] The file name extension used for the output file.
[out] The stream identifiers. You can use them to render external resources (images, for example) that are associated with the report.
[out] An array of objects that describes any warnings that occurred during report processing.
Returns a secondary stream associated with a processed report.
A array of the stream in the specified format. For more information about this data type, see "Byte Structure" in the .NET Framework documentation.
The format in which to render the stream. This argument maps to a rendering extension. You can use any rendering extension available on the report server.To access the list of available rendering extensions, use the method.
The stream identifier.
An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see Device Information Settings in SQL Server Books Online.
The MIME type of the stream.
The Microsoft .NET Framework encoding class name.
Sets data source credentials for the report.
A set of data source credentials to submit to the report server.
Initializes a server report using a specific report execution on the server.
A String containing the execution ID to use.
Sets report parameter properties for the report.
An of objects that contains a list of the report parameters properties.
Gets a collection of objects. The object uses the cookies in this collection when making server requests.
A object that contains a collection of objects.
Gets a collection of strings that contain custom headers.
A object that contains a collection custom headers.
Gets or sets the unique identifier of the report history snapshot used for the server report.
A String value containing the unique identifier of the report history snapshot used for the server report.
Gets or sets the path to the report on the server.
A String value.
Gets or sets credentials to be used with the report server.
A object containing the credentials to be used with the report server.
Gets or sets the URL for the report server.
A object containing the URL for the report server.
Gets or sets the number of milliseconds to wait for server communications.
An integer value that contains the server time-out, in milliseconds. The default value is 600000 milliseconds.
Specifies the severity of a warning.
The severity level of the warning is Error.
The severity level of the warning is Warning.
Represents the exception that occurs when the report server version is not compatible with the report control.
Provides data for the event.
Constructs a SortEventArgs object.
The ID of the sort action.
A enumeration value that indicates the direction of the sort. The default value is None.
A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
Indicates whether all other existing sorts should be cleared.
A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
Gets an enumeration value that indicates the direction of the sort.
A enumeration value that indicates the direction of the sort.
Gets the unique identifier of the sort action.
A String containing the ID of the sort action.
Represents the method that will handle the event of a .
The object raising the event.
A object containing information about the event.
Indicates the direction of a sort operation.
Indicates an ascending sort.
Indicates a descending sort.
Provides data for the event.
Gets the list of data source names for the subreport.
A list of String objects containing the names of the data sources for the subreport.
Returns a collection of data sources for the subreport.
A collection of objects.
Gets a collection of parameters for the subreport.
A containing information about the subreport parameters.
Returns the name of the subreport.
A string containing the name of the subreport.
Represents the method that will handle the event of a .
The object that raised the event.
A object containing information about the event.
Represents a possible valid value for a parameter.
Gets a label for the valid value.
A read-only String object.
Gets a valid value.
A read-only String object.
Represents a list of errors or warnings that are returned when a report is rendered or processed.
Gets the error code that is assigned to the warning. Read-only.
A read-only string value.
Gets a message that describes the error or warning. Read-only.
A read-only string value.
Gets the name of the object in the report definition that contributed to the warning. Read-only.
A read-only string value.
Gets the type of object in the report definition that caused the error or warning. Read-only.
A read-only string value.
Gets the severity type of the error or warning. Read-only.
A read-only string value.
Represents the method that will handle the event of a .
The object raising the event.
A object containing information about the event.
Provides data for a event.
Constructs a new ZoomChangeEventArgs object.
A enumerator value specifying the zoom mode selected.
An integer specifying the selected percentage of zoom.
Gets the zoom mode select for the event.
A enumerator value specifying the zoom mode selected.
Gets the zoom percentage value specified for the event.
An integer specifying the selected percentage of zoom.
Specifies the zoom mode for the ReportViewer control.
Sets the zoom mode to full page.
Sets the zoom mode to page width.
Sets the zoom mode to a percentage.