473,471 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

All Controls Disabled

I have a really simple application - I've just started it so at this point
99% of the code is generated by VS. When it comes up all of the controls
are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
one of the controls in the Load handler the control remains disabled! Could
this be because I named the form something other than "Form1"?

Thanks, Bob
Jul 5 '07 #1
3 1281
Are the "disabled" controls on some sort of container control?
- if so, is the 'enabled' property of the container control set to TRUE?

"eBob.com" <eB******@totallybogus.comwrote in message
news:eM**************@TK2MSFTNGP03.phx.gbl...
>I have a really simple application - I've just started it so at this point
99% of the code is generated by VS. When it comes up all of the controls
are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
one of the controls in the Load handler the control remains disabled!
Could this be because I named the form something other than "Form1"?

Thanks, Bob
Jul 5 '07 #2
"Tony Wissler" <te*******@gmail.comschrieb:
Are the "disabled" controls on some sort of container control?
.... or the form (which is also a control) is disabled.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Jul 5 '07 #3
.... the entire form was disabled. Must have been an inadvertent mouse
click. It never occurs to me to look for the obvious.

THANKS! Bob
"eBob.com" <eB******@totallybogus.comwrote in message
news:eM**************@TK2MSFTNGP03.phx.gbl...
>I have a really simple application - I've just started it so at this point
99% of the code is generated by VS. When it comes up all of the controls
are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
one of the controls in the Load handler the control remains disabled!
Could this be because I named the form something other than "Form1"?

Thanks, Bob

Jul 5 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
3
by: DBQueen | last post by:
I have a form with lines of controls. On some of the lines there are 3 controls (call them A,B,C); other lines have only control A. The controls have been numbered sequentially (Q20, Q21....Q76)...
6
by: Stu Carter | last post by:
Hi, I have an aspx page where some controls are initially disabled by the code-behind 'Page_Load' event. I want these controls to be dynamically enabled when the user checks a checkbox. ...
0
by: Chris Szabo | last post by:
Hey everyone... this is nuts... really hope someone can help out. I've got eight HtmlSelect controls on the web form. They each are set to runat server. When the page is loaded, they are...
2
by: Dune | last post by:
Hi there, If a control is disabled (enabled = false), will the validator controls associated with it automatically know not to carry out validation? I have a page with a bunch of controls and...
1
by: john | last post by:
I have two different problems: 1. When the user has clicked on a button that is causing the browser to post back to the server, it could take a little while for the new page to show up. So in...
8
by: CsaaGuy | last post by:
I have a requirement to disable some textboxs depending on their contents. I choose to do this by invoking some javascript. When they change the contents, i disable the textbox they just put new...
6
by: namewitheldbyrequest | last post by:
Is there a way to disable a web form control (change the Enabled property to false) without the control being dimmed out when it's rendered? I have quite a few of them on the form and they are hard...
2
by: Meels Lilbok | last post by:
Hi i have following problem 1) I add checkbox controls dynamically to webpage 2) user has time limit to check those boxes 3) if time is over checkboxes are disabled and Submit button...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.