Exemplo n.º 1
0
        //页面定义的参数

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                //加入查询条件列表,设置默认值-----2013-11-6 V3.0 修改
                //暂时只考虑二级联动,后期考虑多级的,反正要保证最后一级联动的最后赋值
                this.AddOrUpdateQueryCondition(this.qc_User_StatusJ4, null);
                this.AddOrUpdateQueryCondition(this.txtUser_TypeV4, null);
                this.AddOrUpdateQueryCondition(this.ctrl_Department_ID, null);
                this.AddOrUpdateQueryCondition(this.ctrl_User_Code, null);
                this.AddOrUpdateQueryCondition(this.ctrl_User_Name, null);
                this.AddOrUpdateQueryCondition(this.qc_Is_Prohibit_WebVJ, null);

                if (!this.IsPostBack)
                {
                    //从菜单进入要清空保存的所有查询条件,不过菜单中URL的Reload=true可能暂时没加上
                    if (Request.QueryString["Reload"] != null)
                    {
                        GridParmaList.Clear();
                    }


                    if (Request.QueryString["ViewID"] == null)
                    {
                        Hidden_SelectViewControlID.Value = "1000000188";
                    }
                    else
                    {
                        Hidden_SelectViewControlID.Value = Request.QueryString["ViewID"];
                    }

                    //设置按钮的权限隐藏


                    //父子视图名称固定

                    //手风琴名称固定
                }
            }
            catch (Exception ex)
            {
                this.AjaxAlert(ex);
            }
        }
Exemplo n.º 2
0
        //页面定义的参数

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                //加入查询条件列表,设置默认值-----2013-11-6 V3.0 修改
                //暂时只考虑二级联动,后期考虑多级的,反正要保证最后一级联动的最后赋值
                this.AddOrUpdateQueryCondition(this.tbProduct_Name, null);
                this.AddOrUpdateQueryCondition(this.qc_StateKG, null);
                this.AddOrUpdateQueryCondition(this.qc_DesignStyleJB, null);
                this.AddOrUpdateQueryCondition(this.qc_Designers8H, null);
                this.AddOrUpdateQueryCondition(this.qc_ProductTypeIdH6, null);

                if (!this.IsPostBack)
                {
                    //从菜单进入要清空保存的所有查询条件,不过菜单中URL的Reload=true可能暂时没加上
                    if (Request.QueryString["Reload"] != null)
                    {
                        GridParmaList.Clear();
                    }


                    if (Request.QueryString["ViewID"] == null)
                    {
                        Hidden_SelectViewControlID.Value = "2000000308106";
                    }
                    else
                    {
                        Hidden_SelectViewControlID.Value = Request.QueryString["ViewID"];
                    }

                    //设置按钮的权限隐藏


                    //父子视图名称固定

                    //手风琴名称固定
                }
            }
            catch (Exception ex)
            {
                this.AjaxAlert(ex);
            }
        }
        //页面定义的参数

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                //加入查询条件列表,设置默认值-----2013-11-6 V3.0 修改
                //暂时只考虑二级联动,后期考虑多级的,反正要保证最后一级联动的最后赋值

                if (!this.IsPostBack)
                {
                    //从菜单进入要清空保存的所有查询条件,不过菜单中URL的Reload=true可能暂时没加上
                    if (Request.QueryString["Reload"] != null)
                    {
                        GridParmaList.Clear();
                    }


                    if (Request.QueryString["ViewID"] == null)
                    {
                        Hidden_SelectViewControlID.Value = "2000000307749";
                    }
                    else
                    {
                        Hidden_SelectViewControlID.Value = Request.QueryString["ViewID"];
                    }

                    //设置按钮的权限隐藏


                    //父子视图名称固定

                    //手风琴名称固定
                }
            }
            catch (Exception ex)
            {
                this.AjaxAlert(ex);
            }
        }