|
-
Sep 27th, 2010, 12:21 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Radio Buttons not grouping correctly?
I have a 2 groups of Radio Button controls on my web page that are dynamically loaded. They are contained within a DataList control. I have the "GroupName" property set for each of the groups, however, I am still able to click on more than one rdo within each group. I've set the "GroupName" property within my HTML markup. Not sure what I've missed.
Thanks,
-
Sep 27th, 2010, 01:13 PM
#2
Frenzied Member
Re: Radio Buttons not grouping correctly?
hay,
are you using RadioButton or RadioButtonList because if it was RadioButtonList then this will not happen, when you chose item in the group
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
-
Sep 27th, 2010, 01:35 PM
#3
Thread Starter
PowerPoster
Re: Radio Buttons not grouping correctly?
I'm just using RadioButton, not RadioButtonList...
-
Sep 27th, 2010, 01:38 PM
#4
Frenzied Member
Re: Radio Buttons not grouping correctly?
then you should use RadioButtonList
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
-
Sep 27th, 2010, 02:56 PM
#5
Re: Radio Buttons not grouping correctly?
Blake,
If you are creating the RadioButton's dynamically, how can you be setting the GroupName property in the HTML markup?
Can you show the code that you are using, both the ASPX markup, and the server side code?
Gary
-
Sep 27th, 2010, 03:26 PM
#6
Thread Starter
PowerPoster
Re: Radio Buttons not grouping correctly?
GAry,
I think that might have been my problem. I was dragging the rdo control into the markup and setting it in there. Anyway, I tried using the RDOList and that is working fine for me. In fact, it's probably better than the DataList control for what I'm using it for.
Thanks,
-
Sep 27th, 2010, 03:29 PM
#7
Frenzied Member
Re: [RESOLVED] Radio Buttons not grouping correctly?
sure you can do this also for radio button also but it will need extra code
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
-
Sep 28th, 2010, 01:38 AM
#8
Re: Radio Buttons not grouping correctly?
 Originally Posted by blakemckenna
GAry,
I think that might have been my problem. I was dragging the rdo control into the markup and setting it in there. Anyway, I tried using the RDOList and that is working fine for me. In fact, it's probably better than the DataList control for what I'm using it for.
Thanks,
Agreed. I can't see how you could have been combining the two, as you were suggesting. Sounds like the RadioButtonList will be the best control for you.
Gary
-
Sep 28th, 2010, 08:59 AM
#9
Thread Starter
PowerPoster
Re: [RESOLVED] Radio Buttons not grouping correctly?
Yep,
It was Gary!
Thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|