Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 500
  • Last Modified:

How to clear a RadioButtonList

Hi guys,
How can i clear the selection made in a RadioButtonList

I have two RadioButtonLists, and i want to clear the selection in one of them when users choose YES in the other one.

thanks
0
cakirfatih
Asked:
cakirfatih
  • 2
2 Solutions
 
laotzi2000Commented:
RadioButtonList1.SelectedIndex = -1
0
 
caball88Commented:
YourRadioButtonList.clearselection
0
 
davidlars99Commented:
you want it from clientside or serverside..?

[ASP.NET]
RadioButtonList.ClearSelection()
0
 
caball88Commented:
for something like this i would prefer to do it client side because it will reduce the amount of postbacks to the server. unless there is logic behind which radio button is selected that must be processed.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now