Sub MenuList_Click (returnName As String)
' here we can load the layout of the menu item we clicked
Select Case returnName
Case "page1"
MainPageHolder.Element.Empty
MainPageHolder.Element.LoadLayout("WebSerialPageLayout") '<--------
End Select
' and close the menu, if not always open
If MainSidebar.AlwaysOpen = False Then
MainSidebar.Close
End If
End Sub