Welcome to Dream.In.Code
Become an Expert!

Join 150,076 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,765 people online right now. Registration is fast and FREE... Join Now!




radio button misery in visual studio 2005

 
Reply to this topicStart new topic

radio button misery in visual studio 2005

macman007
28 Feb, 2008 - 01:06 PM
Post #1

New D.I.C Head
*

Joined: 11 Nov, 2007
Posts: 48



Thanked: 1 times
My Contributions
Hi,

I have placed several radio buttons on my webpage and they are not behaving how I would expect. For example, When I select a button you get a black dot to show it's been selected. However, when I select another button the previous button's black dot still remains meaning I now have two black dots active. I only ever want to see one black dot which makes the selection process more clear.

I guess I could turn off every other button when a button is selected but I have 13 radio buttons! Is there a better work around?

I created a test windows application form with radio buttons and this works as expected.


Cheers,

crazy.gif

User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Radio Button Misery In Visual Studio 2005
28 Feb, 2008 - 02:09 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Try using a RadioButtonList. That will eliminate your problem for you smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 11:13PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month