Solved

Clear RadioButtonList

Posted on 2012-04-12
2
371 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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