zoukankan      html  css  js  c++  java
  • DropDown

    DropDown控件为任意控件指定下拉菜单,当然这个下拉菜单必须是已经存在的。

    属性列表:
    TargetControlID :需要附加下拉列表的文本框ID
    DropDownControlID: 下拉列表(Panel)ID
    DropArrowBackColor:下拉箭头的COLOR
    DropArrowWidth:下拉箭头的WIDTH
    HighlightBackColor:目标控件获得焦点时的背景色
    HighLightBorderColor:目标控件获得焦点时的边框COLOR

    客户端事件:
    OnCloentPopulated,OnClientPopulating,OnClientPopup

    实例解析一、文本框下实现Panel

        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
       
        </div>
            <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
                <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                    <asp:ListItem>男</asp:ListItem>
                    <asp:ListItem>女</asp:ListItem>
                </asp:RadioButtonList></asp:Panel>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <cc1:dropdownextender id="DropDownExtender1" runat="server" dropdowncontrolid="Panel1"
                targetcontrolid="TextBox1"></cc1:dropdownextender>
        </form>

  • 相关阅读:
    3月9号作业
    7、循环之while循环和深浅copy
    6、可变不可变类型和运算符以及流程控制之if判断
    5、垃圾回收机制与用户交互以及运算符
    作业3月5号
    3月4号作业
    4、语法之变量以及基本数据类型
    3、Python介绍
    2、计算机基础详解
    五、流程控制值if...else
  • 原文地址:https://www.cnblogs.com/astar/p/956227.html
Copyright © 2011-2022 走看看