Imports BVSoftware.BVC.Core Public Class nopermission1 Inherits System.Web.UI.Page Protected WithEvents MetaDescriptionControl As BVSoftware.WebControls.MetaTag Protected WithEvents MetaKeywordsControl As BVSoftware.WebControls.MetaTag Protected WithEvents returnLink As System.Web.UI.WebControls.HyperLink Protected WithEvents CSSTag1 As BVSoftware.WebControls.CSSTag #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. Private Sub InitializeComponent() End Sub Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() End Sub #End Region Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not Page.IsPostBack Then MetaKeywordsControl.Content = WebAppSettings.MetaKeywords MetaDescriptionControl.Content = WebAppSettings.MetaDescription CSSTag1.StyleSheetURL = PersonalizationServices.GetPersonalizedStyleSheet End If If Request.Params("returnURL") Is Nothing Then returnLink.Visible = False Else If Request.Params("returnURL").Length() > 0 Then returnLink.NavigateUrl = Request.Params("returnURL") returnLink.Visible = True Else returnLink.Visible = False End If End If End Sub End Class