|
by: David Wake |
last post by:
I have two radio buttons and two checkboxes in a form.
I'm trying to write some code so that when a radio button is selected,
its corresponding checkbox is disabled.
My code looks like this:
function radioClicked(index)
{
document.table_config_form.my_checkbox.disabled = true;
|
by: bart plessers |
last post by:
Hello,
Somewhere in my code I have
<input TYPE="button" NAME="btnFirst" VALUE="<<" OnClick="GetFile('1')"
DISABLED>
I changed the layout of the INPUT with a stylesheet to
INPUT {
color: #FFFFFF;
|
by: Targa |
last post by:
I have a select box with about 5 options.
I need to have one of the options, when selected, display a second select
box.
The second select box is populated by a database and needs to be preloaded
so the page doesnt refresh.
How can this be done?
I guess could have the second select box displayed but disabled and it would
become active once the option is selected on the first select box.
|
by: |
last post by:
Please, help.
I created my contol, ButtonX, which subclasses System.Forms.Windows.Button
class. I am doing my own paiting, by overriding OnPaint and
OnPaintBackground (without calling base class's OnPaint &
OnPaintBackground). My button has a shape of rectangle with rounded corners
and is filled with gradient brush, where user specifies the gradient colors.
The dilema I have now is how to paint the button when it's disabled (Enabled
=...
|
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.
|
|
by: Simon Brown |
last post by:
Hi,
here's the code, i have removed the irrelevent stuff
<HEAD>
<title>WebForm1</title>
<script language="javascript">
function DisableRadio()
{
document.Form1.RadioButton1.disabled = true;
|
by: David Stahl |
last post by:
Good evening. I was hoping someone can help me:
I have an ASP.NET page which contains an ArrayList bound to a
DataGrid. The DataGrid displays, in columns, a few members of the
objects in this ArrayList. Each object that is displayed (ie. each row
in the DataGrid) also has an "Add" and a "Remove" button. Think
Windows Update style here.
If you click the "Add" button, it becomes Disabled and the "Remove"
button is Enabled. Click on...
|
by: Brano |
last post by:
HI all,
I have two radioButtons on my form. They both have autopostback = true
and they are both in the same group. They both have event handlers for
CheckedChanged event. My problem is ont of them fires ok the other one
doesn't at all here is the code for them:
I have tried to delete them drag them from the toolbox again and
restart VS.NET none helped.
|
by: KMiller |
last post by:
I would like to control entry into one or more of the tabs
> I have set up on my Tab control based on set rules. Does
> anyone know how to grey-out the text so that a user will
> see that they do not have access to that particular tab?
>
> I tried setting the enabled = false for the given tab,
but
> it only seems to work in the form assembly section (that
> is, if I do it after the form is loaded through a
> function, it doesn't seem...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|