AssociatedControlID and User Controls

Discussion in 'ASP .Net Web Controls' started by Verticon::, Oct 15, 2007.

  1. Verticon::

    Verticon:: Guest

    I have a user control that contains a drop down list and a few other
    items. I have a label control on the form level. how do I assign the
    label to the drop down list in the user control?

    <asp:Label ID="Label" runat="server" AssociatedControlID=?></
    asp:Label>

    <UserControl ID="UserControl" runat="server">
    <asp:DropDownList ID="Input" runat="server"></asp:DropDownList> //
    Renders as "UserControl_Input"
    </UserControl>
    Verticon::, Oct 15, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rajeev Gopal

    AssociatedControlID and asp.xsd

    Rajeev Gopal, Jul 31, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    444
    Rajeev Gopal
    Jul 31, 2006
  2. Faizan Ahmed
    Replies:
    1
    Views:
    282
    John Saunders
    Jan 4, 2005
  3. Rob R. Ainscough

    AssociatedControlID??

    Rob R. Ainscough, Nov 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    124
  4. krzysio94598

    AssociatedControlID

    krzysio94598, Oct 1, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    133
    krzysio94598
    Oct 1, 2007
  5. Microsoft

    AssociatedControlID for Label

    Microsoft, Feb 20, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    154
    Microsoft
    Feb 20, 2008
Loading...

Share This Page