AssociatedControlID

Discussion in 'ASP .Net Web Controls' started by krzysio94598, Oct 1, 2007.

  1. krzysio94598

    krzysio94598 Guest

    I have a web user control (A) which contains another web user control (B) and
    a textbox (asp:textbox).

    The web user control (B) contains a label (asp:Label). This label control
    needs to be associated with the textbox control in control A.

    How can I do this?
    It seems that the AssociatedControlID property in asp:Label works well if
    the label and textbox are in the same web user control or the textbox is at
    the page level.

    Please advise.
     
    krzysio94598, Oct 1, 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:
    447
    Rajeev Gopal
    Jul 31, 2006
  2. Rob R. Ainscough

    AssociatedControlID??

    Rob R. Ainscough, Nov 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    126
  3. Verticon::

    AssociatedControlID and User Controls

    Verticon::, Oct 15, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    368
    Verticon::
    Oct 15, 2007
  4. Microsoft

    AssociatedControlID for Label

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

Share This Page