protected void Page_Load(object sender, EventArgs e) { GetMensajeAnalisis(); if (!IsPostBack) { FuncionGlobal.comboclientesbyusuario((string)(Session["usrname"]), this.dl_cliente); FuncionGlobal.combofamilia_by_cliente_usuario(Convert.ToInt16(this.dl_cliente.SelectedValue), (string)(Session["usrname"]), this.dl_familia); //FuncionGlobal.combofamiliabyusuario((string)(Session["usrname"]), this.dl_familia); } }
protected void dl_cliente_SelectedIndexChanged(object sender, EventArgs e) { FuncionGlobal.combosucursalbycliente(this.dl_sucursal, Convert.ToInt16(this.dl_cliente.SelectedValue)); if (Convert.ToInt16(this.dl_cliente.SelectedValue) == 0) { FuncionGlobal.combofamiliabyusuario((string)(Session["usrname"]), this.dl_familia); FuncionGlobal.comboProductobyfamilia(this.dl_producto, Convert.ToInt16(this.dl_familia.SelectedValue)); } else { FuncionGlobal.combofamilia_by_cliente_usuario(Convert.ToInt16(this.dl_cliente.SelectedValue), (string)(Session["usrname"]), this.dl_familia); FuncionGlobal.comboProductobyfamilia(this.dl_producto, Convert.ToInt16(this.dl_familia.SelectedValue)); } }
protected void dl_cliente_SelectedIndexChanged(object sender, EventArgs e) { FuncionGlobal.combomodulobyusuario(this.dl_modulo, (string)(Session["usrname"]), Convert.ToInt16(this.dl_cliente.SelectedValue)); FuncionGlobal.combosucursalbyclienteandUsuario(this.dl_sucursal, Convert.ToInt16(this.dl_cliente.SelectedValue), (string)(Session["usrname"])); if (Convert.ToInt16(this.dl_cliente.SelectedValue) == 0) { FuncionGlobal.combofamiliabyusuario((string)(Session["usrname"]), this.dl_familia); FuncionGlobal.comboProductobyfamilia(this.dl_producto, Convert.ToInt16(this.dl_familia.SelectedValue)); } else { FuncionGlobal.combofamilia_by_cliente_usuario(Convert.ToInt16(this.dl_cliente.SelectedValue), (string)(Session["usrname"]), this.dl_familia); FuncionGlobal.comboProductobyfamilia(this.dl_producto, Convert.ToInt16(this.dl_familia.SelectedValue)); } //this.Limpiar_DataTable(); this.pnl_acciones.Style.Add("display", "none"); }
protected void dl_cliente_SelectedIndexChanged(object sender, EventArgs e) { FuncionGlobal.combofamilia_by_cliente_usuario(Convert.ToInt16(this.dl_cliente.SelectedValue), (string)(Session["usrname"]), this.dl_familia); this.gr_dato.DataSource = null; this.gr_dato.DataBind(); }