Exemplo n.º 1
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            Menu menu = (Menu)this.FindControl("NavigationMenu");

            PopulateMenu.Get(menu);
            logo.ImageUrl = "~/Images/" + Application["logo"].ToString();
            if (Request.PathInfo.Contains("/Admin/"))
            {
                dvMain.Attributes["class"] = "mainAdmin";
            }
        }