我想,通过点击,当跳转到另一个页面时,将这个页面里的DropDownList锁定请大家帮我想想办法。谢谢大家!

解决方案 »

  1.   

    this.DropDownList.Enabled = false;
    不行吗?是什么样的锁定啊 ?
      

  2.   

    把this.DropDownList.Enabled = false; 放在你跳转页面语句上面就可以吧。
      

  3.   

    有DropDownList的页面原来不是锁定的。
    我想跳转到这个页面,把他锁定,能不能通过,传什么参数什么的做到啊。。
    谢谢指教!
      

  4.   

    url是从数据库中取的。。url为typeitem_add.aspx?parentidtree=.0.4.
    应该怎么加啊?还是有点不明白
      

  5.   

    用 JS 拼接 URL 不知道可以不
      

  6.   

     ((DropDownList)this.PreviousPage.FindControl("DropDownList1")).Enabled=false;
      

  7.   

    if request["parentidtree"]=".0.4"  this.DropDownList.Enabled = false
      

  8.   

    if Request.QueryString["parentidtree"]=".0.4"  this.DropDownList.Enabled = false