ASPxWebDocumentViewer.RequestEvent Property

Defines when to process a POST/GET request.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v20.2.Web.WebForms.dll

Declaration

public static RequestEvent RequestEvent { get; set; }

Property Value

Type Description
RequestEvent

A RequestEvent enumeration value.

Available values:

Name Description
BeginRequest

A request is processed in the BeginRequest event handler.

PreRequestHandlerExecute

A request is processed in the PreRequestHandlerExecute event handler.

AuthorizeRequest

A request is processed in the System.Web.HttpApplication.AuthorizeRequest event handler.

Remarks

A request can be processed during the BeginRequest or PreRequestHandlerExecute event.

The BeginRequest event is used by default, although at this point, the Session and User properties are not yet defined.

To process a request more thoroughly, i.e., during the PreRequestHandlerExecute event, it is required to modify the application’s Web.config file in the following way.

<system.web>
    <httpHandlers>
      <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DXXRDV.axd" validate="false" />
    </httpHandlers>
  </system.web>

  <system.webServer>
    <handlers>
      <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DXXRDV.axd" name="ASPxViewerHttpHandlerModule" preCondition="integratedMode" />
    </handlers>
  </system.webServer>
See Also