Ejemplo n.º 1
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            idModulo = Int32.Parse(Request.Params["mid"]);

            if (Page.IsPostBack == false)
            {
                if (idModulo > 0)
                {
                    Hashtable configuracion = ModulosBD.ObtenerConfig(idModulo);
                    Nivel.SelectedValue = (string)configuracion["NivelAcceso"];
                }


                // Store URL Referrer to return to portal
                ViewState["UrlAnterior"] = Request.UrlReferrer.ToString();
            }
        }
        private void Page_Load(object sender, System.EventArgs e)
        {
            idModulo = Int32.Parse(Request.Params["mid"]);

            if (Page.IsPostBack == false)
            {
                if (idModulo > 0)
                {
                    Hashtable configuracion = ModulosBD.ObtenerConfig(idModulo);
                    XmlData.Text      = (string)configuracion["xmlfue"];
                    XslTransform.Text = (string)configuracion["xslfue"];
                }


                // Store URL Referrer to return to portal
                ViewState["UrlAnterior"] = Request.UrlReferrer.ToString();
            }
        }
Ejemplo n.º 3
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            idModulo = Int32.Parse(Request.Params["mid"]);

            if (Page.IsPostBack == false)
            {
                if (idModulo > 0)
                {
                    Hashtable configuracion = ModulosBD.ObtenerConfig(idModulo);
                    Ubicacion.Text = (string)configuracion["ubicacion"];
                    Ancho.Text     = (string)configuracion["ancho"];
                    Alto.Text      = (string)configuracion["alto"];
                }


                // Store URL Referrer to return to portal
                ViewState["UrlAnterior"] = Request.UrlReferrer.ToString();
            }
        }