Accessing the visible property of a User Control at runtime

J

johnStein

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
 
C

Calvin Luttrell/ProjectThunder.com

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.

-Calvin Luttrell
ProjectThunder.com
 

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

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,078
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top