means u want to make controls visibility as per ur requirements, which u have added in user control.
then u have to declare property in user control using get set assign them to control
i.e if u have button in user control and u want to make is visible false as per ur requirements ,Then create property
public bool BtnVisibility
{
get
{
}
set
{
btn1.Visible= value;
}
}
value for visibility u have to pass from page where u have added ur user control
like follows
MyUserControl.BtnVisibility = false;
refer following article.They have created user control and assing values to lable on page.Same way do for control visibility.
http://www.dotnetfunda.com/articles/article16.aspx[
^]