Author: dba123 | Posted on: 8/18/2008 7:44:08 AM | Views : 775

I have a parent .aspx page that has and asp:panel control and also reference to a user control. Lets just call it usercontrolA.ascx for this post.
The user control has a radiobuttonlist.
Based on a selection from the radiotbuttonlist in the user control, I want to be able to talk to the parent's panel and either show or hide it:
parentPanel.visible = true;
But the user control doesn't know what parenPanel is (the ID of the control)

So how can I get the user control to be able to successfully reference its parent page's web controls?  In this case, the Parent's panel control?
...

Go to the complete details ...