Solved

Clear RadioButtonList

Posted on 2012-04-12
2
372 Views
Last Modified: 2012-06-27
I have a RadioButtonList  on an aspx page.  The RadioButtonList is used to determine in a City or Outside a City.  I want to be able to clear the page and set everything back to the default. (set textboxes = “” and the RadioButtonList to where neither Radio Button is checked)  The code for the RadioButtonList is listed below.

  
<asp:RadioButtonList ID="rbCity" runat="server" RepeatDirection="Horizontal">
             <asp:ListItem Value="S">In City</asp:ListItem>
             <asp:ListItem Value="U">Outside City</asp:ListI
 </asp:RadioButtonList>  

Open in new window

0
Comment
Question by:us1975mc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37839298
0
 

Author Closing Comment

by:us1975mc
ID: 37839565
Bingo!  That is the ticket!

Thanks!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question