Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Cannot Change Web Control Property

Reply
Thread Tools

Cannot Change Web Control Property

 
 
crjunk
Guest
Posts: n/a
 
      01-30-2004
I have a label and a text box on my web form. For some reason, .NET
sets the visible property for both of these controls to False when I
drop them on the web form. The weird thing is that I can see them
when I view them in my web browser.

I tried changing the visible property from False to True, but .NET
will not let me do that. When I click on the dropdown, True appears
as a choice but it can't be selected. I also placed my cursor in the
Visible Property text box and tried to type the word True, but I can't
do that either.

Does anyone know what's going on?

Thanks!

C.R.
 
Reply With Quote
 
 
 
 
crjunk
Guest
Posts: n/a
 
      02-03-2004
I figured out what was happening. Because the label and the text box
are on a panel that has its visibility set to False, .Net
automatically sets the label and textbox visiblity to false as well.
The only way to change the visiblity of the text box and label was to
first set the panel visibility to true, then change the textbox and
lable visibility property.

C.R.

http://www.velocityreviews.com/forums/(E-Mail Removed) (crjunk) wrote in message news:<(E-Mail Removed). com>...
> I have a label and a text box on my web form. For some reason, .NET
> sets the visible property for both of these controls to False when I
> drop them on the web form. The weird thing is that I can see them
> when I view them in my web browser.
>
> I tried changing the visible property from False to True, but .NET
> will not let me do that. When I click on the dropdown, True appears
> as a choice but it can't be selected. I also placed my cursor in the
> Visible Property text box and tried to type the word True, but I can't
> do that either.
>
> Does anyone know what's going on?
>
> Thanks!
>
> C.R.

 
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
How could I change the NavigateUrl property at runtime based on another controls property ? Radu ASP .Net 2 01-25-2007 10:51 AM
can JavaScript change web form control property? =?Utf-8?B?ZGF2aWQ=?= ASP .Net 3 03-20-2006 06:10 PM
Can a validation control trigger an property change on a web form? Pasta Bolognese ASP .Net 1 05-10-2004 06:13 PM
Refreshing web control after sub-property change Bruce Parker ASP .Net Building Controls 1 04-28-2004 12:55 AM
can user control change its child control's property using javascript? chaoy@pacbell.net ASP .Net Building Controls 0 08-25-2003 02:31 AM



Advertisments