enabled

How can you tell if a trigger is enabled in PostgreSQL?

My googling-fu is failing me. How to know if a PostgreSQL trigger is disabled or not? ...

" ServiceReference1.ArrayOfXElement " not declared error

I have created an application in silverlight 3 beta. I am trying to access a dataset from Silverlight enabled WCF. I have created the WCF. I have added its reference to the silverlight app, but the ServiceReferences.ClientConfig file shows error "ServiceReference1.ArrayOfXElement not declared" in the code. The code is as follows: Parti...

How to find a particular position of a selected item in Listbox making the Buttons Enabled in C#?

Hi, I have a list box with items like A B C D E. I also have two buttons Move UP and Move Down with it. i have already made their properties false in the property window (F4). Now i want when a user selects B or all the items below then my Move Up button should get enabled. It should be Disabled for A item In the same way my Move D...

Does @Test(enabled = false) work for a class in TestNG?

From the TestNG doc I can see that (enabled = false) can be applied to a class or method. But it seems it only works when applied to a method. Anybody seen the same, found a solution? I'm running tests in ItelliJ IDEA 7.0 by the way. ...

Determine whether client browser has java installed and can launch applets

Hi, I am developing an .aspx page which will ultimately launch an applet after the user clicks on a button (I am using the <applet> tag). So, I would like to detect if java is enabled/installed on the user's browser. I am using navigator.javaEnabled() method. However, even though this is working fine on IE7, it is returning inconsisten...

Winforms button: Does Visible = false imply Enabled = false?

Simple question: I have a WinForms button, and I want to make it both (conditionally) invisible and disabled (to be sure that if someone clicks in the space where the invisible button lives, it won't activate it.) Does button.Visible = false also imply button.Enabled = false, or do I need to set/reset both properties at the appropriate...

Commands are disabled in WPF application when data source is empty

Hi I have a simple WPF with a menu, a toolbar and a ListView in a GridView. the menu and toolbar actions are bound to commands. I have that defines when commands should be executed ("CanExecute"). Some commands, such as "Create New Item" should always be executed, so they are bound to a "e.CanExecute = true;" function. However, when th...

Client side javaScript to toggle dropdownlists effects reversed on the 2nd postback.

I have some JavaScript to toggle a dropdownlists in a ASP.NET page , which gets called when I click a button. I have like 4-5 dropdownlist/Toggle button pair. Each toggle button toggles the enable/disable property on the associated dropdownlist. I save the disabled property value of a hidden field to track the disabled state of a button...

how to check if javascript is disabled?

how to check if the user disable javascript in his browser? For example: in stackoverflow, a red warning div will show up at the top if you disable the javascript in firefox? How to achieve this? One more thing I noticed: if you disable cookies, stackoverflow doesn't work. It won't let you login when you click the login button. Actually...

Determine whether or not ELMAH is enabled?

How can I determine programmatically whether or not ELMAH is enabled? ...

Delphi 2009 button.enabled shows error in structure but still compiles

I'm just wondering if anyone else has come across this rather obtuse error. I have a procedure that looks loosely like this: procedure dostuff(); begin if session_started = true then // global var begin // do bunch of calculations // goes on for a while // then at the end we enable the save button save_score.enabled := ...

UIBarButton ignores "setEnabled:YES"

Hey, I ran into a problem. I can't image why that happens, probably you guys can. I've created a UIBarButtonItem in IB and linked it correctly. A set the property and synthesized it. At the beginning I set the btn disabled (viewWillAppear). Then I try to add an entry to my mysql db: NSString *URLStr = [NSString stringWithFormat:@"http...

How can a disabled button gets touches ?

Hello all, I was just wondering how can this happen !! In my iPhone application during a http request loading I am disabling a button in the navigation bar . But when I am touches the button three or four times the action method gets called after the loading is completed this means that though the button is disabled the touches are de...

android:state_enabled missing/not working??

I do not have the property android:state_enabled for any of the controls. Typing it manually doesn't work either. I can only use the deprecated android:enabled. I have the latest everything. ...

Combobox background color while not enabled

I have a combobox that I have Enabled = false. When that is the case it causes it to shade to a grey. I was wondering if their was a way I could keep the checkbox background color as cornsilk while it is not Enabled? The situation is that I have a form that I will refresh with data when an item is selected. If the user selects to edi...

WPF: ContextMenu item bound to a Command is enabled only after invoking the command from another source. Why does this be?

I have a ContextMenu whose items are all bound to commands and enable\disable correctly after ANY Command is invoked from another source but prior to, they are all disabled. So if I run the app, all the MenuItems are disabled but if I invoke any of the bound commands from another source (buttons, for instance) they become synchronized w...

Hyperlinks are staying inactive after setting isEnabled=true to parent control

I've got a TabItem contanining a listbox, which has an obeservable collection of my feeds class as its item source. When I refresh/load the feeds into the collection I want to disable the main window so that the user can't go clicking other things while this process is running. So I set tbCtrl.isEnabled=false; to my tab control on the fo...

SelectedValue of DropDownList is not the one I selected when Enabled=false

Hiya, I have a few DropDownLists on a webform each pointing to a SqlDataSource. Some of these datasources use one of these DropDownLists for a select parameter, filtering the list to specific categories. For certain users two of these DropDownLists are to be automatically set and disabled. When I submit the form with the drop down...

Making a barebones, PHP-enabled web server in C?

I want to make the most lightweight possible HTTP server in C that supports PHP and possibly FastCGI if it will make a huge difference. I'm not sure how to implement PHP support. Does it just call PHP.exe with the path to a .php file and read the output? What about things like header () in PHP? How are those handled by the server? And ...

javascript enabled/disabled in browser

How to find whether user has enabled or disabled javascript of the browser or the bowser do not support javascript. ...