AssociatedControlID

K

krzysio94598

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top