Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Enabling/ Disabling Radio button in client side =

Thread Tools

Enabling/ Disabling Radio button in client side =

Posts: n/a
Hi groups,
In my page i have placed radiolist[ myradiobtn ] server control
[ (o) Yes (.) No ] enabled = false in the design time.

I have to enable and disable this radiolist control based button(btn) press

//in code behind
btn.Attributes.Add("Onclick", "testcode()")
// in aspx page
function testcode()
document.Form1.radiolist1.disabled=false; // not responding for radiolist

... <.asp:radiobuttonlist id="agenda" runat="server" Enabled="False">
<.asp:ListItem Value="110">Meeting scheduled</asp:ListItem>
<.asp:ListItem Value="111">Followup scheduled</asp:ListItem>
please anyone please find where i'm making mistake. but the same logic is
working for dropdownlist etc. but radio list is not responding

Mahesh kumar.R

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client Side - click radio button - controls become enabled UJ ASP .Net 3 07-20-2005 10:38 AM
Disabling radio button client - side John Hopper ASP .Net Web Controls 3 02-22-2005 08:13 AM
Trap Client Side Radio Button click event walterd ASP .Net 1 07-20-2004 08:19 AM
Radio button List problem: How to find value of Radio button list's Selected Item using javascript?? Hiten ASP .Net Web Controls 1 05-26-2004 10:32 AM
Client-side scripting from a radio button Eldon Ferran de Pol ASP .Net 1 12-15-2003 03:37 PM