Share via


ReportViewer.SubmittingDataSourceCredentials Event

Occurs when the user submits new data source credentials using the data source prompt area.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Event SubmittingDataSourceCredentials As ReportCredentialsEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As ReportCredentialsEventHandler

AddHandler instance.SubmittingDataSourceCredentials, handler
public event ReportCredentialsEventHandler SubmittingDataSourceCredentials
public:
event ReportCredentialsEventHandler^ SubmittingDataSourceCredentials {
    void add (ReportCredentialsEventHandler^ value);
    void remove (ReportCredentialsEventHandler^ value);
}
/** @event */
public void add_SubmittingDataSourceCredentials (ReportCredentialsEventHandler value)

/** @event */
public void remove_SubmittingDataSourceCredentials (ReportCredentialsEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when the user submits data source credentials. Information about this event is passed in a ReportCredentialsEventArgs object to the ReportCredentialsEventHandler delegate, which handles the event. This event only applies to remote processing mode.

Handle this event to read or modify the data source credentials before they are submitted to the report server. For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace
DataSourceCredentials Class
DataSourceCredentialsCollection Class