User930584213 posted
I have created a simple user control and when I press a button I want to load some data into one of its labels. I can't use find control directly from the ContentPlaceHolder (I'm using a master template). Apparently the user control is its own
container. How do I reference the user control's type? If I use Object to cast the user control then I can't call FindControl on the user control. Here's my example that doesn't work:
Prefix:ControlName oControl = (Prefix:ControlName) oContentPlaceHolder1.FindControl("UserControlName");