图例:

altas(ajax)控件(十):DropDown让文本框拥有下拉列表

注意,”请选择“ 的是个文本框

 

altas(ajax)控件(十):DropDown让文本框拥有下拉列表<asp:Label ID="TextLabel" runat="server" Text="请选择"  Style="display: block; width: 300px; padding:2px; padding-right: 50px; font-family: Tahoma; font-size: 11px;" />
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
<asp:Panel ID="DropPanel" runat="server" CssClass="ContextMenuPanel" Style="display :none; visibility: hidden;">
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
<asp:LinkButton runat="server" ID="Option1" Text="董昊" CssClass="ContextMenuItem" OnClick="OnSelect" />
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
<asp:LinkButton runat="server" ID="Option2" Text="比尔盖茨" CssClass="ContextMenuItem" OnClick="OnSelect" />
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
<asp:LinkButton runat="server" ID="Option3" Text="二百五" CssClass="ContextMenuItem" OnClick="OnSelect" />            
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
</asp:Panel>
altas(ajax)控件(十):DropDown让文本框拥有下拉列表
<ajaxToolkit:DropDownExtender runat="server" ID="DDE"  
altas(ajax)控件(十):DropDown让文本框拥有下拉列表TargetControlID
="TextLabel"            
altas(ajax)控件(十):DropDown让文本框拥有下拉列表DropDownControlID
="DropPanel" />
altas(ajax)控件(十):DropDown让文本框拥有下拉列表

控件简介:

altas(ajax)控件(十):DropDown让文本框拥有下拉列表<ajaxToolkit:DropDownExtender runat="server" ID="DDE“
altas(ajax)控件(十):DropDown让文本框拥有下拉列表TargetControlID="
TextLabel"
altas(ajax)控件(十):DropDown让文本框拥有下拉列表DropDownControlID
="DropPanel"/>
altas(ajax)控件(十):DropDown让文本框拥有下拉列表

   

TargetControlID需要附加下拉列表的文本框ID
DropDownControlID下拉列表(PanelID
Animations-动画效果,可以查看altas(ajax)控件():动画制作控件AnimationExtender

 

 

 

相关文章:

  • 2021-12-23
  • 2021-11-23
  • 2022-01-29
  • 2022-01-10
  • 2022-12-23
  • 2021-11-07
  • 2021-11-11
猜你喜欢
  • 2021-12-04
  • 2021-12-21
  • 2021-10-22
  • 2021-12-12
  • 2022-12-23
  • 2021-06-24
  • 2021-07-09
相关资源
相似解决方案