Solved

Clear RadioButtonList

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

785 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