Thursday, March 10, 2011

Grouping Radio Buttons in ASP .NET MVC


               Radio buttons should only allow the user to select a single option out of multiple choices. This should be enforced by only allowing one radio button to be selected for each option set.But, what if your application has multiple options that all need radio buttons? How do you distinguish the radio buttons  from one option from the other.

                     This is where groups comes into picture.Recently i have started developing HTML extensions(Custom Controls) library for simplify this .I will post you the project later.To resolve the issue you can set the Name property for each of your radio button.