Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Accessing the visible property of a User Control at runtime

Reply
Thread Tools

Accessing the visible property of a User Control at runtime

 
 
johnStein
Guest
Posts: n/a
 
      05-24-2004
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

 
Reply With Quote
 
 
 
 
Calvin Luttrell/ProjectThunder.com
Guest
Posts: n/a
 
      05-24-2004
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

> 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?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide textbox / Make textbox not visible (NOT USING visible property) Jurjen de Groot ASP .Net Web Controls 0 05-19-2008 09:50 AM
Accessing ASP Button visible property in JavaScript Doogie Javascript 5 06-19-2007 12:38 AM
Re: Control not visible at runtime Raterus ASP .Net 0 04-22-2004 03:23 PM
User control not visible when setting .Visible = true; Andrea Williams ASP .Net Web Controls 4 01-28-2004 10:22 PM
Setting Nested User Controls Visible Property Donald Williamson ASP .Net Web Controls 0 11-07-2003 04:57 PM



Advertisments