当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - Multiple Parents for ajaxtoolkit:cascadingdropdownlist

问题描述:

I'm trying to set a filter using ajaxtoolkit CascadingDropDown.

The problem is that I need to set a CascadingDropDown using as parent 2 others CascadingDropDown.

My code looks like this:

<asp:DropDownList ID="Parent1" runat="server"/>

<ajaxToolkit:CascadingDropDown ID="CCDParent1" runat="server" TargetControlID="Parent1" ..../>

<asp:DropDownList ID="Parent2" runat="server"/>

<ajaxToolkit:CascadingDropDown ID="CCDParent2" runat="server" ParentControlID="Parent1" TargetControlID="Parent2" ..../>

and this is what I need.

<asp:DropDownList ID="Child" runat="server"/>

<ajaxToolkit:CascadingDropDown ID="CCDChild" runat="server" ParentControlID="Parent1 and Parent2" TargetControlID="Child" ..../>

Is it possible? How?

Thanks

分享给朋友:
您可能感兴趣的文章:
随机阅读: