ASPxWebDocumentViewer.RequestEvent Property

Defines when to process a POST/GET request.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.1.Web.WebForms.dll

Declaration

public static RequestEvent RequestEvent { get; set; }
Public Shared Property RequestEvent As RequestEvent

Property Value

Type Description
RequestEvent

A RequestEvent enumeration value.

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>