public void Search() { //SearchLoad(); Gridload(); Window1.Hide(); GridPanel1.Show(); }
public void Search() { //SearchLoad(); FormWindow.Hide(); GridPanel1.Show(); storeload(); //ClearSearch(); }
public void Search()//点击查询按钮 { //storeload(); //Ext.DoScript("#{Store1}.reload();"); //Ext.DoScript("#{Store1}.load({params:{start:0,limit:" + PagingToolBar1.PageSize + "}});"); storeload(); Window1.Hide(); GridPanel1.Show(); }
public void GVLoad(string processid, string kind) { GhtnTech.SEP.OraclDAL.BaseTableGet btg = new GhtnTech.SEP.OraclDAL.BaseTableGet(); Hidden1.Value = processid; //Hidden2.Value = kind; hazardsStore.DataSource = btg.GetHAZARDSForUsingView(" and HAZARDS.PROCESSID='" + processid + "'", SessionBox.GetUserSession().DeptNumber); hazardsStore.DataBind(); GridPanel1.Show(); Panel1.Hide(); btn_Save.Disabled = true; btn_yy.Disabled = true; btn_cancel.Disabled = true; }
protected void Page_Load(object sender, EventArgs e) { if (!Ext.IsAjaxRequest) { if (!SessionBox.CheckUserSession()) { Response.Redirect("~/Login.aspx"); } else { UserHandle.InitModule(this.PageTag); //初始化此模块的权限。 if (UserHandle.ValidationHandle(PermissionTag.Browse)) //是否有浏览权限 { if (!UserHandle.ValidationHandle(PermissionTag.Add)) //引用 { btn_yy.Visible = false; //引用 btn_Sure.Visible = false; //全部引用 btn_C.Visible = false; //全部取消 btn_cancel.Visible = false; //取消 } if (!UserHandle.ValidationHandle(PermissionTag.Edit)) //保存 { btn_Save.Visible = false; } BuildTree(); Bindcombox(int.Parse(PublicMethod.ReadXmlReturnNode("SGLX", this)), bmStore1); Bindcombox(int.Parse(PublicMethod.ReadXmlReturnNode("FXDJ", this)), bmStore2); Bindcombox(int.Parse(PublicMethod.ReadXmlReturnNode("FXLX", this)), bmStore3); string ren = PublicMethod.ReadXmlReturnNode("REN", this) + "," + PublicMethod.ReadXmlReturnNode("GUAN", this); //bindGLDX(ren, Store1); bindGLDX(ren, Store2); bindGLDX(ren, Store3); bindGLDX(ren, Store4); Bindcombox(int.Parse(PublicMethod.ReadXmlReturnNode("SWJB", this)), bmStore5); Bindcombox(int.Parse(PublicMethod.ReadXmlReturnNode("YHJB", this)), bmStore4); GridPanel1.Hide(); Panel1.Hide(); //首页待办连接处理-周义生 if (Request.QueryString["H_YY"] != null) { tpZY.Hide(); bindH_YY(); GridPanel1.Show(); btn_Sure.Hide(); btn_C.Hide(); } } else { Session["ErrorNum"] = "0"; Response.Redirect("~/Error.aspx"); } btn_Save.Disabled = true; btn_yy.Disabled = true; btn_cancel.Disabled = true; } } }
public void Search() { storeload(); Window1.Hide(); GridPanel1.Show(); }