473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

problem with enabling and disabling of radio list box

i am using radiolist box control in my page. when i disable radiolist
box when page is displayed first time, that is not ispostback, and when
i try to enable it with my javascript code afterwards, it is never
enabled. i have searched dozens of site looking for this problem. is
there any way around of this problem.

thanks in advanced

Nov 19 '05 #1
2 1362
You cannot just enable the list via JavaScript. You would need to enumerate
all the radio button objects in JavaScript and enable them one at a time.
How are you trying to enable the list?

<ad************@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
i am using radiolist box control in my page. when i disable radiolist
box when page is displayed first time, that is not ispostback, and when
i try to enable it with my javascript code afterwards, it is never
enabled. i have searched dozens of site looking for this problem. is
there any way around of this problem.

thanks in advanced

Nov 19 '05 #2
i am enabling them one by one like rdolst[0].disabled=false. it works
fine in the scenario when page is loaded first time and radio list is
enabled but in the second scenario i.e. when the page is loaded and in
the code i disabled the radio list box on the basis of some values
comming from database i.e rdolst.enabled=false in my vb file. then it
makes problem and never enabled in the javascript code which is working
fine in first case.

Nov 19 '05 #3

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

Similar topics

1
by: TheKeith | last post by:
I'm currently working on a form for my site and would like to do something that I've seen many times on other sites. I would like to make a particular form element enabled or disabled depending on...
6
by: Leonard | last post by:
I have several radio buttons for the user to choose from. I need to enable or disable a particular radio button, depending on a certain condition. How can I do this? Thanks, Leonard
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
14
by: Nick Gilbert | last post by:
Hi, I have an asp.net application which runs from a CD-ROM using Cassini. As such, it is single user only. The application connects to an Access database when it is loaded, and keeps the same...
7
by: John Meyer | last post by:
I have a program where I have to enable or disable a list box based upon a radio button. Is there an "enabled" property on select boxes?
2
by: dougawells | last post by:
Hi- I'm wanting to have a set of radio buttons disabled when a form is displayed, then if they check another specific radio button, those would become enabled. I've tried setting it via...
3
by: Ralph | last post by:
Hi I have small function to generate my form controls: function buildInput(sType, vValue, vId, sName, sLabel){ var oInput = null; var oLabel = document.createElement('label'); var oCont =...
0
by: krizzie khonnie | last post by:
How can I Disable a Radio Button if it's a Radio Group. Example, there's a two radio button, Value and Group, in a radio group. Now I want to disable Radio Button Value when I create a Parent Item....
2
by: khizerbasith | last post by:
After disabling the radio buttons while the form is loaded i have written this code for button click but its not working any solutions........... Private Sub Button2_Click(ByVal sender As...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.