Imports EDSL.Entities
Imports EDSL.DAL


Partial Public Class PrintAll
    Inherits BasePage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim objMainPage As New dbMainPage
        Dim objMainPageEntity As New entMainPage

        objMainPageEntity = objMainPage.GetPageDetails("Home")
        Me.MetaTitle = ConfigurationManager.AppSettings("BrowserTitleCompanyName") & objMainPageEntity.MetaTitle
       
        divContent.InnerHtml = objMainPageEntity.PageContent
        Me.MetaName = objMainPageEntity.PageMetaName
        'Me.MetaName = "Description"
        Me.MetaContent = objMainPageEntity.PageMetaContent
        'Dim homeLinks As HyperLink = Master.FindControl("header1").FindControl("nav1")
        'Dim aboutLinks As HyperLink = Master.FindControl("header1").FindControl("nav2")
        'Dim contactLinks As HyperLink = Master.FindControl("header1").FindControl("nav3")
        'If Not homeLinks Is Nothing Then
        '    homeLinks.CssClass = "n1s"
        '    aboutLinks.CssClass = "n2"
        '    contactLinks.CssClass = "n3"
        'End If
    End Sub

End Class