protected void Page_Load(object sender, EventArgs e) { sistema.AnalizarPeticion(); if (!IsPostBack) { StackUrlSistema.AddRuta(Request.Url.PathAndQuery); lknBack.Visible = (StackUrlSistema.Count() > 1); CrearMenuPrincipal(); CrearMenu(); Mostrardatos(); } else { CrearMenu();// ?? } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { StackUrlSistema.AddRuta(Request.Url.PathAndQuery); //lknBack.Visible = (StackUrlsistema.Count() > 1); CrearMenuPrincipal(); CrearMenu(); Mostrardatos(); ScriptManager.RegisterClientScriptBlock(Page, typeof(Page), "removeBlockPage", "removeBlockPage();", true); } else { CrearMenu();// ?? } }