Ejemplo n.º 1
0
    //更改小类的内容
    protected void spresult_SelectedIndexChanged(object sender, EventArgs e)
    {
        this.status1.Items.Clear();
        PubComm.SetProfile(this.spresult.SelectedValue, this.status1, "请选择...");

        this.status2.Items.Clear();
        PubComm.SetProfile(this.status1.SelectedValue, this.status2, "请选择...");
    }
Ejemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            PubComm.SetDepart(this.depart, "所有部门");
            PubComm.SetZCStatus(this.status, "所有状态");


            /////////////////////////////////////

            this.depart.SelectedValue = "";
            this.zcbao.SelectedValue  = "";
            ///////////////////////////////////////
            U_ItemBU item1 = new U_ItemBU();
            item1.ItemName = "政策包";
            item1.SetLiteralControl(this.zcbao, "全部...");
            this.zcbao.SelectedValue = "";

            item1.ItemName = "行政区域";
            item1.SetLiteralControl(this.quyu, "全部...");

            item1.ItemName = "行业分类";
            item1.SetLiteralControl(this.hangye, "全部...");

            item1.ItemName = "资产性质分类";
            item1.SetLiteralControl(this.fenlei, "全部...");


            item1.Close();

            U_ZCBAOBU zcb1 = new U_ZCBAOBU();
            zcb1.SetBstatus(this.Bstatus, "全部...");
            zcb1.Close();
            ////////////////////////////////////////////

            depart_SelectedIndexChanged(this.depart, e);

            U_ItemBU item = new U_ItemBU();
            item.Setuserkind(this.userkind);
            item.Close();


            //调整执行状态的选择 (====2013年新增=====)
            PubComm.SetProfile("方案执行结果", this.spresult, "");
            PubComm.SetProfile("方案执行状态大类", this.status1, "全部...");

            //this.status1.Items.Add(new ListItem("全部...", ""));
            this.status2.Items.Add(new ListItem("全部...", ""));
        }

        this.danwei.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
        this.num1.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
        this.num2.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
    }
Ejemplo n.º 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            /*SearchStruct info1 = Session["SearchXiangMu"] as SearchStruct;
             * if (info1 != null)
             * {
             *  this.SearchData(info1);
             * }*/

            //设置方案执行结果
            PubComm.SetProfile("方案执行结果", this.spresult, "全部...");
            PubComm.SetProfile("方案执行状态大类", this.status1, "全部...");
            PubComm.SetProfile(this.status1.SelectedValue, this.status2, "全部...");
        }
    }
Ejemplo n.º 4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (String.IsNullOrEmpty(Request.QueryString["czid"]) == false)
            {
                String zcResult = this.GetZcResult(Request.QueryString["czid"]);
                PubComm.SetProfile("方案执行结果", this.spresult, "请选择...");
                if (this.spresult.Items.FindByValue(zcResult) != null)
                {
                    this.spresult.SelectedValue = zcResult;
                }

                PubComm.SetProfile(this.spresult.SelectedValue, this.status1, "请选择...");
                PubComm.SetProfile(this.status1.SelectedValue, this.status2, "请选择...");
            }
        }
    }
Ejemplo n.º 5
0
 public static void SetProfile(String keyName,
                               ListControl con1)
 {
     PubComm.SetProfile(keyName, con1, "", "");
 }
Ejemplo n.º 6
0
 public static void SetProfile(String keyName,
                               ListControl con1, String blankvalue)
 {
     PubComm.SetProfile(keyName, con1, "", blankvalue);
 }