-
Notifications
You must be signed in to change notification settings - Fork 0
/
Global.asax.vb
21 lines (18 loc) · 1.2 KB
/
Global.asax.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Imports System
Imports System.IO
Imports System.Web
Imports DevExpress.XtraReports.Web
Namespace DXWebApplication1
Public Class Global_asax
Inherits HttpApplication
Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Routing.RouteTable.Routes.MapPageRoute("defaultRoute", "", "~/Designer.aspx")
DevExpress.XtraReports.Configuration.Settings.[Default].UserDesignerOptions.DataBindingMode = DevExpress.XtraReports.UI.DataBindingMode.Expressions
DevExpress.XtraReports.Web.WebDocumentViewer.Native.WebDocumentViewerBootstrapper.SessionState = SessionState.SessionStateBehavior.Default
DevExpress.XtraReports.Web.QueryBuilder.Native.QueryBuilderBootstrapper.SessionState = SessionState.SessionStateBehavior.Default
DevExpress.XtraReports.Web.ReportDesigner.Native.ReportDesignerBootstrapper.SessionState = SessionState.SessionStateBehavior.Default
DevExpress.XtraReports.Web.Extensions.ReportStorageWebExtension.RegisterExtensionGlobal(New ReportStorageWebExtension1(Path.Combine(HttpRuntime.AppDomainAppPath, "Reports")))
ASPxReportDesigner.StaticInitialize()
End Sub
End Class
End Namespace