disable

asp:Login EnableClientScript

We are using ASP.NET 2.0 to build a website, and are using Forms Authentication. As usual I'm using the ASP.NET Login control. In this project, we are not allowed to use client side (JS) validation, so I want to disable this. Unfortunatly, there doesn't seem to be a EnableClientScript property available like on the various ASP.NET Vali...

How to Disable autocomplete in UITextView iPhone keyboard

Hello, I am doing the application in which I want to disable the autocomplete feature of the keyboard in a textfield. Please help me as I am new to iPhone Thanks & Regards Rajesh ...

Javascript to enable/disable asp DropDownList showing funky behaviour?

I am disabling a dropdownlist when a button is clicked function disableDropDown(DropDownID) { document.getElementById(DropDownID).disabled = true; return false; <---------tried with and without this, no luck } and a onClick call to disableDropDown('DropDownID'); I see it disable the dropdown and then immediately there is a post...

Toggle dropdownlist enable and disable with a button click using Javascript?

I have the following JavaScript to disable a dropdownlist in a ASP.NET page , which gets called when I click a button. function disableDropDown(DropDownID) { document.getElementById(DropDownID).disabled = true; return false; } I wanted to use the same button to toggle between enable and disable for that dropdownlist. How do I do ...

Client side javaScript to toggle a dropdownlists effects reversed on postbacks?

I have the following 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. function toggleDisableDropDown(dropDownID) { var element = document.getElementByI...

Disabling Registry Redirection for a Registry Key on x64 Platform

Hi, On 64-bit platform, installed-check is getting failed for SQL Reporting Services and Add-ins. Installer is checking the registry entries under path "HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Instance Names" and registry entry is available out there but since MS SQL Server is a 64-bit application, therefore, the inst...

how to disable page scrolling in FF with arrow keys

Hi All, I'm building a menu with topics and items.Each topic can be expanded and collapsed by clicking on it.My task is to make it possible to move through menu topics and items with the up and down arrow keys.I've done this already, but the problem is that when the page is bigger than the window, the page is scrolling when pressing the...

disable select dropdown during .getjson jquery call and reenable after complete

i have the following code where i getJSON after i click on a select box. Sometimes it takes a long time and the users are clicking on the dropdown again during the server side processing. Is there anyway to disable the dropdown during the server side call and reenabled it after the processing is complete. here is my code <script typ...

JQuery: Disable 'X' button in top-right of Dialog

Hello all, I'm trying to make a dialog that requires a user to agree to terms before continuing, and don't want to allow the user to just click the 'X' in the top right corner of the dialog to close. I'd like to require that the user click 'I agree'. Is there any way to disable the 'X' in the dialog? Thanks. Clarification: I'm just u...

how to disable the toolbar during the onload??

i disabled the toolbar during the onload but it s going as an infinite loop....i dont want this to happen..... i dont want to use another jsp page. can someone help me out.... ...

C++ Disabling warnings on a specific include

Hi, I'm wondering if there's a way to disable all warnings on a specific file (for example, using a preprocessor directive). I'm using CImg.h and I want to get rid of the warnings involving that code. I'm compiling both with VS (the version for Windows) and gcc (the Linux one), so I would like to have a generic way... Thanks! ...

How to programmatically disable ecb menu item for a particullar list item

Hi! I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on their property. ...

can I override/redefine "global" Javascript functions, like confirm() and alert()?

I want to do some browser automation, and those pesky confirm/alert boxes are a real pain. Disabling javascript completely in this case is not an option, unfortunately. Well, so I was wondering, can I just change the definition of those methods as seen by my browser's javascript interpreter to basically do nothing and return true? Note ...

Disable an asp.net dynamic button click event during postback and enable it afterwards.

Hello all, I am creating a button dynamically in my code and attaching a click event to it. However I have to prevent people to click it while there is a process going on. So when it is clicked once, it should be disabled and when the process ends it should be enabled. How can I do that? Thanks. ...

Disable Shadow on a ScatterViewItem on Microsoft Surface

Hello, I'm developing a program on Microsoft Surface. And I didn't succeed to make disable completely the shadow. Here is my problem : http://i61.servimg.com/u/f61/11/31/25/01/sans_t10.png Heres is the XAML code : <s:ScatterViewItem Height="130" x:Name="jetons1" Width="180" CanScale="False" BorderThickness="0" ShowsActiva...

How can I disable an <option> in a <select> based on its value in JavaScript?

I have a <select> with a number of <option>s. Each has a unique value. I need to disable an <option> with a given defined value (not innerhtml). Anyone have an idea how? ...

Android - how to disable long press on Search button (Nexus One)

The Android documentation describes how to disable the search the search feature in Activity: public boolean onSearchRequested() { return false; } This works fine for a short press of the search button on the Nexus One. However, it doesn't disable the long press, which still fires off a voice search. How do I disable the long pres...

How to disable the click option or selecting the row in a table in iphone?

I am new to iphone development.I am displaying a xml parsed contents in a grouped tableView.I want disable the click event on it(i should not be able to click it at all) .Since it is grouped table , it contains two tables and i want to disable the first table only and not the second table.How can i achieve it?Please help me out.Thanks. ...

How to prevent page refreshes on tab switching in IE7 ?

For a specific website (internal to network, coded in XHTML) the behavior in IE6 was that when ever the window is re-sized or restored the page refreshes. Since IE6 doesn't have tabs I upgraded to IE7 - but the problem with IE7 is whenever we switch from one tab to another, its makes the active tab's page to refresh, and this happens a...

Disable the use of CD drive (VB.NET)

Hi, I have a task and no idea how to tackle it! Basically, I want to disable the CD drive on a PC so our users can't use them. That's how I want to start anyway - ultimately I'd like an icon in the system tray that allows the CD drive(s) to be locked and unlocked providing you know a password. I need somewhere to start though - does ...