The requested page is not available for the requested platform. You are viewing the content for Default platform.

DefaultWebDocumentViewerContainer.RegisterConnectionProviderFactory<T>() Method

Registers a factory that returns an object implementing the IConnectionProviderService interface.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v19.2.Web.dll


public static void RegisterConnectionProviderFactory<T>()
    where T : IConnectionProviderFactory
Public Shared Sub RegisterConnectionProviderFactory(Of T As IConnectionProviderFactory)

Type Parameters

Name Description


Call the RegisterConnectionProviderFactory<T> method at the application startup in the Global.asax file to register a custom IConnectionProviderService implementation in the Web Document Viewer.

using DevExpress.XtraReports.Web.WebDocumentViewer;
// ...

void Application_Start(object sender, EventArgs e) {

See Register Services in the Document Viewer for a complete list of available services and their registration methods.

See Also