473,796 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ 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 1294
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******@total lybogus.comwrot e in message
news:eM******** ******@TK2MSFTN GP03.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*******@gmai l.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******@total lybogus.comwrot e in message
news:eM******** ******@TK2MSFTN GP03.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
8438
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
3
3801
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) and they were put onto the form in the numerical sequence. I have given the A's with B & C's on the same line a tag=1; B.tag=2, C,tag=2) I am trying to write 2 modules so that the following occurs (on Form_Current and 'A' Control_Before or...
6
7742
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. Because I don't want a post-back, I added some javascript to do this However, using client-side JS, I cannot enable any controls that have been disabled by server-side code. If the control is initially enabled, I can disable/enable it client-side.
0
877
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 filled using data from a database and a loop that creates the listitems and adds them, no databinding. If there is a query string value on the page, I set the value and selected index of each control to the data that
2
3163
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 depending on what is passed in through the querystring, I disable some of those controls in my code-behind. However, my validator controls still seem to be trying to validate the disabled controls. Cheers :)
1
1638
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 the mean time, I want to change the cursor to an hourglass and disable all of the controls on the form using javascript so the user can't do anything with any of the controls on the page. But when I disable certain controls (e.g. text boxes, radio...
8
5438
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 data into and focus on another textbox. My logic works fine, the textboxes get disabled. However, when the page posts back, the disabled textbox contents (which were changed before disabling) DOES NOT GO BACK TO THE SERVER. The server gets the...
6
1573
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 to read when they are disabled . Thanks, Bill Cincinnati, OH USA
2
3508
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 appears
0
9535
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10021
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6800
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5453
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.