public Sub BuildPage()
' initialize the theme
BuildTheme
' initialize this page using our theme
page.InitializeWithTheme(Name, "/ws/" & ABMShared.AppName & "/" & Name, False, ABMShared.SessionMaxInactiveIntervalSeconds, theme)
page.ShowLoader=True
page.PageHTMLName = "index.html"
page.PageTitle = "Sales Performance Charts"
page.PageDescription = "Sales Performance Charts"
page.PageKeywords = ""
page.PageSiteMapPriority = ""
page.PageSiteMapFrequency = ABM.SITEMAP_FREQ_YEARLY
page.DisableBackButton = True
page.ShowConnectedIndicator = True
'To be enabled, if we Plan to use Google Charts
page.AddExtraJavaScriptFile("https://www.google.com/jsapi")
' adding a navigation bar
ABMShared.BuildNavigationBar(page, "Sales Chart","../images/mylogo.jpg", "", "", "")
' create the page grid
page.AddRows(1,True, "").AddCells12(1,"")
page.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components
End Sub