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

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,696
Latest member
BarbraOLog

Latest Threads

Top