GridView with RadioButton – Select One at a Time(codedigest.com)

submitted by satheeshbabusatheeshbabu(1565) 3 years, 4 months ago

If we have a TemplateColumn and include a RadioButton control, it will allow selection of multiple rows. It is because the RadioButton will have different Id and hence it will allow multiple selections. So, we should add some sort of client side functionality that prevents selection of multiple Radio Buttons but one. In this article, we will call a Javascript function on click of RadioButton that checks if there is some other RadioButton in the GridView is already selected to uncheck it leaving the current selection.

add a comment |category: |Views: 334

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story