protected void Page_Load(object sender, EventArgs e) { //Hide the master page title and footer NotLoggedIn masterPage = (NotLoggedIn)this.Master; masterPage.HideTitle(); masterPage.HideFooter(); if (!IsPostBack) { //Check for messages in the query string string messageType = Request.QueryString["messageType"]; //Show the message if it exists if (!string.IsNullOrWhiteSpace(messageType)) { switch (messageType) { case "LogOutSuccess": msgSys.ShowMessageToUser("primary", "Logged Out", "You have successfully logged out of PIDS!", 10000); break; default: break; } } //Set the focus to the username text box txtUsername.Focus(); } }
public void GoToNotLogged() { notIN = new NotLoggedIn(this); _NavigationFrame.Navigate(notIN); }