all groups > asp.net building controls > may 2004 >
You're in the

asp.net building controls

group:

Accessing the visible property of a User Control at runtime


Accessing the visible property of a User Control at runtime johnStein
5/23/2004 6:51:02 PM
asp.net building controls: I need to make visisble/invisible my user control at runtime
I am using code-behind and there is no access to the control here
What do I do
Re: Accessing the visible property of a User Control at runtime Calvin Luttrell/ProjectThunder.com
5/23/2004 11:01:08 PM
John,

What type of control are you making? If it's a UserControl you can make =
the declaration of the control Public instead of Private in the user =
Control but watch out .Net will switch it back to private when you =
aren't looking. You can also write Public properties in the control to =
change the state of a child control from with in the user control.=20

-Calvin Luttrell
ProjectThunder.com

[quoted text, click to view]
AddThis Social Bookmark Button