标签: asp.net asp.net-ajax
这是一个:
无论如何看看我的页面中的DropDownList控件是否在运行时(代码)绑定到Ajax CascadingDropDown?
感谢名单
答案 0 :(得分:0)
您必须遍历页面上的所有控件并检查是否:
ctrl is AjaxControlToolkit.CascadingDropDown
然后查看ctrl.TargetControlID是否与DropDownList的ID匹配
ctrl.TargetControlID