protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     int intFlag = 0;
     switch (e.Item.Value)
     {
         case "IMPORT":
             string Corp_Code = this.drgCorp.SelectedValue.Trim();
             string Ground_Code = this.drgGround.SelectedValue.Trim();
             intFlag = RangeDB.InsertBoundFromTmp(Corp_Code,Ground_Code);
             if (intFlag < 1)
             {
                 this.ShowJsMessage("由于网络原因,本次删除操作失败,请尝试重新删除!");
                 return;
             }
             this.CallJsFun("javascript:alert('导入场所作业范围数据成功!!!');");
             RangeDB.RollBackBoundTmp();
             this.CallJsFun("javascript:window.close();");
             break;
         case "DEL":
             RangeDB.RollBackBoundTmp();
             refreshGrid();
             UpdatePanel1.Update();
             break;
         default:
             break;
     }
 }
예제 #2
0
 protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     string Work_Id = OptItem();
     string F_Work_Id = OptItem_F();
     if (Work_Id == "")
     {
         this.ShowJsMessage("请选择要操作的记录!!!");
         return;
     }
     switch (e.Item.Value)
     {
         case "DEL":
             int intFlag = PreDecalreDB.DeletePreDeclare(Work_Id, F_Work_Id, true);
             if (intFlag < 1)
             {
                 this.ShowJsMessage("审批过程出错,请重新尝试!!!");
                 return;
             }
             PreDecalreDB.WriteSysLog("用户:" + CurrUser.StrUser + "将单据号:" + Work_Id.Replace("'", "") + "删除", CurrUser.StrUser, "代理预申报");
             this.ShowJsMessage("删除数据成功!!!");
             refreshGrid();
             UpdatePanel1.Update();
             break;
         default:
             break;
     }
 }
예제 #3
0
 protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     string strId = OptItem();
     if (strId == "")
     {
         this.ShowJsMessage("请选择要操作的记录!!!");
         return;
     }
     switch (e.Item.Value)
     {
         case "BACK":
             string Work_id = this.OptItem();
             if (Work_id == "")
             {
                 this.ShowJsMessage("请选择要操作的记录!!!");
                 return;
             }
             string BACKER = CurrUser.StrUser;
             string Remark = "";
             int intFlag = BackDB.BackErrDeclare(Work_id, BACKER, Remark);
             if (intFlag < 1)
             {
                 this.ShowJsMessage("回退申报过程出错,请重新尝试!!!");
                 return;
             }
             this.ShowJsMessage("成功回退申报!!!");
             BackDB.WriteSysLog("用户:" + CurrUser.StrUser + "将单据号:" + Work_id.Replace("'", "") + "错误回退", CurrUser.StrUser, "错误申报处理");
             refreshGrid();
             UpdatePanel1.Update();
             break;
         default:
             break;
     }
 }
예제 #4
0
        protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
        {
            string strId = "";
            switch (e.Item.Value)
            {
                case "DEL":
                    strId = OptItem();
                    if (strId.Length < 1)
                    {
                        this.ShowJsMessage("请选择要删除的记录!");
                        return;
                    }
                    if (DecDB.SelectNeedDelDec(strId, true) == false)
                    {
                        this.ShowJsMessage("该申报员信息正在使用中,不可以删除");
                        return;
                    }
                    int intFlag = DecDB.DeleteDecInfo(strId);
                    if (intFlag < 1)
                    {
                        this.ShowJsMessage("由于网络原因,本次删除操作失败,请尝试重新删除!");
                        return;
                    }
                    this.ShowJsMessage("删除数据成功!!!");
                    refreshGrid();
                    break;

                default:
                    break;
            }
        }
        protected void NavigationMenu_MenuItemClick1(object sender, MenuEventArgs e)
        {
            switch (e.Item.Text)
            {
                case "Contul meu":
                   TableUser.Visible = true;
                   TableEmail.Visible = false;
                   TableParola.Visible = false;
                   RezervariGridView.Visible = false;
                   RecenziiGridView.Visible = false;
                    break;
                case "Modifica email":
                    TableUser.Visible = false;
                   TableEmail.Visible = true;
                   TableParola.Visible = false;
                     RezervariGridView.Visible = false;
                   RecenziiGridView.Visible = false;
                   break;
                case "Modifica parola":
                     TableUser.Visible = false;
                   TableEmail.Visible = false;
                   TableParola.Visible = true;
                     RezervariGridView.Visible = false;
                   RecenziiGridView.Visible = false;
                    break;
                case "Istoric rezervari":
                    ShowHistory();
                    ShowReservations();

                    break;

            }
        }
예제 #6
0
 protected void ReportMenuClick(object sender, MenuEventArgs e)
 {
     ProjectData data = reportTypes[e.Item.Text];
     ContentPanel.Controls.Clear();
     ContentPanel.Controls.Add(data.Display(selectedProject, new DateRange(DateTime.Now, DateTime.Now)));
     DateRange.Visible = data.RequiresDateRange;
 }
예제 #7
0
        protected void Menu1_MenuItemClick1(object sender, MenuEventArgs e)
        {
            switch (e.Item.Value)
            {

            }
        }
예제 #8
0
 protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     switch (e.Item.Value)
     {
         case "DEL":
             string strId = OptItem();
             string strId_cn = OptItem_Cn();
             if (strId.Length < 1)
             {
                 this.ShowJsMessage("请选择要删除的记录!");
                 return;
             }
             if (chargeDB.SelectNeedDelCharge(strId_cn, true) == false)
             {
                 this.ShowJsMessage("该作业负责人正在使用中,不可以删除!");
                 return;
             }
             int intFlag = chargeDB.DeleteCharge(strId, true);
             if (intFlag < 1)
             {
                 this.ShowJsMessage("由于网络原因,本次删除操作失败,请尝试重新删除!");
                 return;
             }
             this.ShowJsMessage("删除数据成功!!!");
             refreshGrid();
             UpdatePanel1.Update();
             break;
         default:
             break;
     }
 }
예제 #9
0
 protected void NavigationMenu_MenuItemClick(object sender, MenuEventArgs e)
 {
     if (e.Item.Value.ToString().CompareTo("Projekt") == 0)
     {
         if (aktywny_projekt != 0)
         {
             Response.Redirect("SzczegolyProjektu.aspx?id=" + aktywny_projekt);
         }
         else
         {
             Response.Redirect("Default.aspx");
         }
     }
     else if (e.Item.Value.ToString().CompareTo("Realizacje") == 0)
     {
         if (aktywny_projekt != 0)
         {
             Response.Redirect("Aktualne.aspx");
         }
         else
         {
             Response.Redirect("Default.aspx");
         }
     }
 }
예제 #10
0
		protected virtual void OnMenuItemClick (MenuEventArgs e)
		{
			if (Events != null) {
				MenuEventHandler eh = (MenuEventHandler) Events [MenuItemClickEvent];
				if (eh != null) eh (this, e);
			}
		}
 protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     switch (e.Item.Value)
     {
         //case "CHOICE":
         //    this.CallJsFun("window.open('Choice_Filed.aspx','','Height=500px,Width=800px,center=yes,help=no,resizable=no,status=yes,scrollbar=no');");
         //    break;
         case "EXCEL":
             string strCorp = "";
             if (this.drgCorp.SelectedIndex != 0)
             {
                 strCorp = this.drgCorp.SelectedValue.Trim();
             }
             string strClass = "";
             if (this.drgType.SelectedIndex != 0)
             {
                 strClass = this.drgType.SelectedValue.Trim();
             }
             CreateGrid();
             DataView dvHistory = HistoryDB.SelectHistoryToExcel(strField_Cn, strCorp, this.DateDeclare.FromText.ToString().Trim(), this.DateDeclare.ToText.ToString().Trim(), this.txtCargo_Name.ToString().Trim(), this.DateWork.FromText.ToString().Trim(), this.DateWork.ToText.ToString().Trim(), this.drgType.SelectedValue.Trim(), this.drgInOrOut.SelectedValue.Trim(), this.drgCheck.SelectedValue.Trim());
             HistoryFC.ConvertToExcelDown(dvHistory, System.DateTime.Now.ToShortDateString() + "-HistoryQuery", "");
             break;
         default:
             break;
     }
 }
예제 #12
0
 protected void NavigationMenu_MenuItemClick(object sender, MenuEventArgs e)
 {
     //Response.Write("<script>alert(\"Salir!\")</script>");
     Session.Remove("usuario");
     Session.Abandon();
     Response.Redirect("~/TabInicio/SinLogin.aspx");
 }
 protected void NavigationMenu_MenuItemDataBound(object sender, MenuEventArgs e)
 {
     if (this.ShouldRemoveItem(e.Item.Text))
     {
         e.Item.Parent.ChildItems.Remove(e.Item);
     }
 }
예제 #14
0
        protected void topMenu_MenuItemDataBound(object sender, MenuEventArgs e)
        {
            string target = ((SiteMapNode)e.Item.DataItem)["target"];

            if(!String.IsNullOrEmpty(target))
                e.Item.Target = target;
        }
예제 #15
0
 protected void menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     switch (e.Item.Value)
     {
         case "DEL":
             string strId = OptItem();
             if (strId.Length < 1)
             {
                 this.ShowJsMessage("请选择要删除的记录!");
                 return;
             }
             int intFlag = DeclareDB.DeleteDeclareCompany(strId, true);
             if (intFlag < 1)
             {
                 this.ShowJsMessage("由于网络原因,本次删除操作失败,请尝试重新删除!");
                 return;
             }
             this.ShowJsMessage("删除数据成功!!!");
             refreshGrid();
             UpdatePanel1.Update();
             break;
         default:
             break;
     }
 }
 protected void menuAdmin_MenuItemClick(object sender, MenuEventArgs e)
 {
     if(e.Item.Value == "Logout")
     {
         Session.Abandon(); // kill all session variables
         Response.Redirect("Index.html"); // redirect to start page
     }
 }
예제 #17
0
 void mainMenu_MenuItemClick(object sender, MenuEventArgs e)
 {
     if (e.Item.Value.StartsWith("Theme_"))
     {
         Session["theme"] = e.Item.Value.Substring(6);
         Response.Redirect(Request.Url.LocalPath);
     }
 }
예제 #18
0
        void NavigationMenu_MenuItemClick(Object sender, MenuEventArgs e)
        {
            if (e.Item.Value != null)
            {
                x = e.Item.Value;

            }
        }
 protected void MAccount_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
 {
     if (e.Item.Text == "Log Out")
     {
         Session.Abandon();
         Response.Redirect("~/Models/Home/Homepage.aspx");
     }
 }
예제 #20
0
 protected void menuKategoriler_MenuItemClick(object sender, MenuEventArgs e)
 {
     //Response.Write("Seçilen text : " + e.Item.Text + " , value : " + e.Item.Value);
     int altkno=0;
     string[] Degerler = e.Item.ValuePath.Split('/'); //tıklanan menülerin id değerlerini veriyor. böylece hangi sekmeyi tıkladığmızı anlıyoruz
     if (Degerler.Length == 2)
         altkno = Convert.ToInt32(Degerler[1]);
     Response.Redirect("Products.aspx?kno=" + Degerler[0] + "&akno=" + altkno);
 }
예제 #21
0
 protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
 {
     switch (e.Item.Value)
     {
         case "registro":
             Response.Redirect("~/Account/Register.aspx");
             break;
     }
 }
예제 #22
0
 protected void mnuKategoriler_MenuItemClick(object sender, MenuEventArgs e)
 {
     //string Secilen = e.Item.Text + ", " + e.Item.Value;
     if (e.Item.Depth != 0)
     {
         string[] Degerler = e.Item.ValuePath.Split('/');
         Response.Redirect("Products.aspx?kno=" + Degerler[0] + "&altkno=" + Degerler[1]);
     }
 }
        /// <summary>
        /// Mains the menu menu item data bound.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">
        /// The <see cref="System.Web.UI.WebControls.MenuEventArgs"/> 
        /// instance containing the event data.</param>
        protected void MainMenuMenuItemDataBound(object sender, MenuEventArgs e)
        {
            if (SiteMap.CurrentNode == null || SiteMap.CurrentNode.ParentNode == null) return;

            if (e.Item.Text == SiteMap.CurrentNode.ParentNode.Title)
            {
                e.Item.Selected = true;
            }
        }
예제 #24
0
 protected void menuHome_MenuItemClick(object sender, MenuEventArgs e)
 {
     if (e.Item.Value == "- Logout")
     {
         // Redirect to login page if user click - logout from the menu
         Session.Abandon();
         Response.Redirect("Index.html");
     }
 }
 protected void exit(object sender, MenuEventArgs e)
 {
     if (e.Item.Text == "Exit")
     {
         FormsAuthentication.SignOut();
         Session.Clear();
         ViewState.Clear();
         Response.Redirect("~/Default.aspx");
     }
 }
예제 #26
0
        protected void MenuItem_OnClick(object sender, MenuEventArgs e)
        {
            //parteDreapta.Controls.Clear();
            //listaPensiuni.Visible = true;
            //divDupaClick.Visible = true;
            //divDupaClick.Controls.Add(listaPensiuni);

            string selected = e.Item.Value.ToString();
            Response.Redirect("~/Local.aspx?Localitate=" + selected);
        }
예제 #27
0
		protected override bool OnBubbleEvent (object source, EventArgs args)
		{
			CommandEventArgs command = args as CommandEventArgs;
			if (command == null)
				return false;

			MenuEventArgs menuArgs = new MenuEventArgs ((MenuItem) DataItem, source, command);
			RaiseBubbleEvent (this, menuArgs);
			return true;
		}
예제 #28
0
        protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e)
        {
            SiteMapNode node = e.Item.DataItem as SiteMapNode;

            // If the siteMapNode has a "target" attribute, use the value as the Target of the menu item
            if (!string.IsNullOrEmpty(node["target"]))
            {
                e.Item.Target = node["target"];
            }
        }
예제 #29
0
 protected void SiteMenu_MenuItemClick(object sender, MenuEventArgs e)
 {
     if (e.Item.Value.Equals("logout"))
     {
         string url = ("admin/login.aspx?rul=#url#".Replace("#url#", this.Request.Url.AbsoluteUri)+"&act=clr");
         Response.Redirect(url, true);
     }
     else
     {
         Server.Transfer(e.Item.Value);
     }
 }
예제 #30
0
 /// <summary>
 /// Called when [menu item data bound].
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="System.Web.UI.WebControls.MenuEventArgs"/> instance containing the event data.</param>
 protected void OnMenuItemDataBound(object sender, MenuEventArgs e)
 {
     SiteMapNode siteMapNode =  (SiteMapNode)e.Item.DataItem;
       string target = siteMapNode["target"];
       string tooltip = siteMapNode["tooltip"];
       if (!string.IsNullOrEmpty(target)) {
     e.Item.Target = target;
       }
       if (!string.IsNullOrEmpty(tooltip)) {
     e.Item.ToolTip = tooltip;
       }
 }
예제 #31
0
 protected void menuAdmin_MenuItemClick(object sender, MenuEventArgs e)
 {
     switch (e.Item.Value)
     {
         case "My page":
             Response.Redirect("~/UserProfile.aspx?id=" + SessionHelper.UserID);
             break;
         case "Bans":
             Response.Redirect("~/Administration/Bans.aspx?id=" + SessionHelper.UserID);
             break;
     }
 }
 protected void mTarifa_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
 {
     try {
         switch (e.Item.Value)
         {
         case "Editar":
             this.presentador.IrAEditar();
             break;
         }
     } catch (Exception ex) {
         this.MostrarMensaje("Inconsistencias al intentar editar la tarifa", ETipoMensajeIU.ERROR, nombreClase + ".mTarifa_MenuItemClick:" + ex.Message);
     }
 }
예제 #33
0
        protected void Menu1_MenuItemClick(Object sender,
                                           System.Web.UI.WebControls.MenuEventArgs e)
        {
            switch (e.Item.Value)
            {
            case "Andamento":
                SituacaoAndamento();
                return;

            case "Atrasada":
                SituacaoAtrasado();
                return;
            }
        }
 protected void Menu1_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
 {
     if (Menu1.SelectedItem == null)
     {
         return;
     }
     if (Menu1.SelectedItem.Depth == 0)
     {
         lblInfo.Text = "You selected Category ID: ";
     }
     else if (Menu1.SelectedItem.Depth == 1)
     {
         lblInfo.Text = "You selected Product ID: ";
     }
     lblInfo.Text += Menu1.SelectedItem.Value;
 }
        protected void mReservacion_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
        {
            try
            {
                switch (e.Item.Value)
                {
                case "Editar":
                    this.presentador.IrAEditar();
                    break;

                case "Cancelar":
                    this.RegistrarScript("Cancelar", "confirmarCancelar();");
                    break;
                }
            }
            catch (Exception ex)
            {
                this.MostrarMensaje("Inconsistencias al intentar editar la reservación", ETipoMensajeIU.ERROR, nombreClase + ".mReservacion_MenuItemClick:" + ex.Message);
            }
        }
 protected virtual new void OnMenuItemClick(MenuEventArgs e)
 {
 }
예제 #37
0
 protected void menu_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
 {
     mv.ActiveViewIndex = Convert.ToInt32(e.Item.Value);
 }
 protected virtual new void OnMenuItemDataBound(MenuEventArgs e)
 {
 }
 protected void  Menu1_MenuItemClick(object sender, System.Web.UI.WebControls.MenuEventArgs e)
 {
 }
예제 #40
0
 public void BuildHTMLMenuControlBehavior(System.Web.UI.WebControls.MenuEventArgs e, System.Web.HttpRequest Request, System.Web.HttpResponse Response)
 {
     string lkjl = "";
 }
예제 #41
0
        //public void MenuControlBehavior(System.Web.UI.WebControls.MenuEventArgs e, System.Web.HttpRequest Request,System.Web.HttpResponse Response, string lastname, string firstname)
        public void MenuControlBehavior(System.Web.UI.WebControls.MenuEventArgs e, System.Web.HttpRequest Request, System.Web.HttpResponse Response)
        {
            var     newSiteBaseUrl = ConfigurationManager.AppSettings["NewSiteBaseUrl"];
            Boolean LimitAccess    = false;
            Boolean fullaccess     = false;
            Boolean partialaccess  = false;
            string  AccessLevel    = "1";

            GlobalSecuity RestrictAccess = new GlobalSecuity();

            //Ryan C Manners.6/10/11.
            if (e.Item.Text == "New Coming Features")
            {
                //Response.Redirect("Volunteers.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
                //e.Item.NavigateUrl = "";
            }
            else if (e.Item.Text == "Main Menu")
            {
                //if (LimitAccess)
                //{
                //    Response.Redirect("ErrorAccess.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"]);
                //}
                //else
                //{
                Response.Redirect("MenuTest.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
                //}
            }
            else if (e.Item.Text == "Volunteer Directory")
            {
                //LimitAccess = RestrictAccess.RestrictAccess(ref AccessLevel, ref partialaccess, ref fullaccess, lastname, firstname,"Volunteers");
                //if (LimitAccess)
                //{
                //    Response.Redirect("ErrorAccess.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"]);
                //}
                //else
                //{
                Response.Redirect("Volunteers.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
                //}
            }
            else if (e.Item.Text == "Student Directory")
            {
                //LimitAccess = RestrictAccess.RestrictAccess(ref AccessLevel, ref partialaccess, ref fullaccess, lastname, firstname,"uifadmin2");
                //if (LimitAccess)
                //{
                //    Response.Redirect("ErrorAccess.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
                //}
                //else
                //{
                Response.Redirect("uifadmin2.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
                //}
            }
            else if (e.Item.Text == "RSVP Gospel Tracking")
            {
                Response.Redirect("RSVPGospelTracking.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Impact Urban Schools")
            {
                Response.Clear();
                Response.Redirect("ImpactUrbanSchools.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&StudentLastName=&StudentFirstName=" + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Enter Student Attendance")
            {
                Response.Redirect("StudentAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "View Student Attendance")
            {
                Response.Redirect("ViewStudentAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Edit Student Attendance")
            {
                //Response.Redirect("StudentAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Enter Volunteer Attendance")
            {
                Response.Redirect("VolunteerAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "View Volunteer Attendance")
            {
                Response.Redirect("ViewVolunteerAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Edit Volunteer Attendance")
            {
                //Response.Redirect("StudentAttendance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Athletics")
            {
                Response.Redirect("AthleticsProgramMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "PerformingArtsAcademy")
            {
                Response.Redirect("PerformingArtsAcademy.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "MSHS Choir")
            {
                Response.Redirect("MSHSChoir.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Childrens Choir")
            {
                Response.Redirect("ChildrensChoir.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Singers")
            {
                Response.Redirect("Singers.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Shakes")
            {
                Response.Redirect("Shakes.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "CoreKids")
            {
                Response.Redirect("CoreKidsProgram.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Options")
            {
                Response.Redirect(newSiteBaseUrl + "Options");
            }
            else if (e.Item.Text == "KRA Reports")
            {
                Response.Redirect("KRA.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Systems Billboard")
            {
                Response.Redirect("SystemEnhancementsBulletin.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "DiscipleshipMentor")
            {
                Response.Redirect("DiscipleshipMentorProgram.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&StudentLastName=" + "&StudentFirstName=" + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "MSHS Choir")
            {
                Response.Redirect("MSHSChoir.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "SummerDay Camp")
            {
                Response.Redirect("SummerDayCamp.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Childrens Choir")
            {
                Response.Redirect("ChildrensChoir.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Student Search/Queries")
            {
                Response.Redirect("StudentAttendanceReporting.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Volunteer Search/Queries")
            {
                Response.Redirect("VolunteerSearchQueries.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Volunteer Background Details")
            {
                Response.Redirect("VolunteerDetails.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&VolunteerLastName=" + "&VolunteerFirstName=" + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Mailing Lists")
            {
                Response.Redirect("MailingLists.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Attendance History Information")
            {
                Response.Redirect("AttendanceHistoryInformation.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "StudentProgram Maintenance")
            {
                Response.Redirect("AthleticsProgramMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "VolunteerProgram Maintenance")
            {
                Response.Redirect("AthleticsVolunteerMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Student Attendance History")
            {
                Response.Redirect("AthleticsAttendanceHistory.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Volunteer Attendance History")
            {
                Response.Redirect("VolunteerAttendanceHistory.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "AthleticsProgramSection Maintenance")
            {
                Response.Redirect("AthleticsProgramSectionMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Education AdminMaintenance")
            {
                Response.Redirect("EducationProgramSectionMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Admin Functions")
            {
                Response.Redirect("AdminFunctions.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "Program Admin Maintenance")
            {
                Response.Redirect("PerformingArtsProgramSectionMaintenance.aspx?Security=Good&lastname=" + Request.QueryString["lastname"] + "&firstname=" + Request.QueryString["firstname"] + "&Dept=" + Request.QueryString["Dept"]);
            }
            else if (e.Item.Text == "LogOut")
            {
                Response.Redirect(newSiteBaseUrl + "Account/Logout");
            }
        }