最近想做一个COMBOX选择后,另外一个SELECBOX加载不一样的内容

前台

<DirectEvents> <BeforeSelect OnEvent="cbtype_change" ></BeforeSelect> </DirectEvents>

后台

protected void cbtype_change(object sender, DirectEventArgs e) { if (this.cbtype.Text.Trim() == "1")//菜单叶子 { this.Store1.DataSource = new DAL.TreeDAO().GetMeunList(0); this.DataBind(); } else { this.Store1.DataSource = new DAL.TreeDAO().GetMeunList(1); this.DataBind(); } }


上图:

EXT.NET( 二十)Combox联动EXT.NET( 二十)Combox联动

相关文章:

  • 2021-08-15
  • 2021-08-24
  • 2022-12-23
  • 2021-12-08
  • 2021-08-28
  • 2021-05-18
  • 2021-05-04
  • 2022-02-12
猜你喜欢
  • 2021-08-30
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
  • 2021-08-21
相关资源
相似解决方案