Files
Nuvolar/Nuvolar.Web/Default.aspx.vb
2017-03-08 11:21:27 +01:00

36 lines
1.5 KiB
VB.net

Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Web.UI
Imports DevExpress.ExpressApp.Templates
Imports DevExpress.ExpressApp.Web
Imports DevExpress.ExpressApp.Web.Templates
Imports DevExpress.ExpressApp.Web.Templates.ActionContainers
Partial Public Class [Default]
Inherits BaseXafPage
Shared Sub New()
End Sub
Protected Overrides Function CreateContextActionsMenu() As ContextActionsMenu
Return New ContextActionsMenu(Me, "Edit", "RecordEdit", "ObjectsCreation", "ListView", "Reports")
End Function
Protected Sub Page_Init()
AddHandler CustomizeTemplateContent, Sub(sender As Object, e As CustomizeTemplateContentEventArgs)
Dim _content As DefaultVerticalTemplateContent = TryCast(TemplateContent, DefaultVerticalTemplateContent)
If _content Is Nothing Then
Return
End If
_content.HeaderImageControl.DefaultThemeImageLocation = ""
_content.HeaderImageControl.ImageName = WebApplication.Instance.Model.Application.Logo
End Sub
End Sub
Public Overrides ReadOnly Property InnerContentPlaceHolder() As Control
Get
Return Content
End Get
End Property
End Class