Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2007, 08:45 PM
Authorized User
 
Join Date: May 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default radio button check/uncheck

I would like the user to be able to check/select a radiobutton and then uncheck/deselect it if they want(selected wrong one by accident). I can't get the event to fire again though once it has already been selected. Is there a way to do this in Visual Studio 2005 or VB.net?
Any help would be greatly appreciated. I am an old Cobol programmer and got thrown into a web project because there was no one else

PS. if there are any experts in this that are in the DC area, i might be able to pay for some help.

Thanks
Lisabb
 
Old May 24th, 2007, 07:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there.. I think you have the wrong control...

for selecting only one item of many you use a radiobutton, witch can be selected only one and can't be unselected unless you choose another radiobutton...

if you want to allow the user to check many item and have the posibility to un-check them use a checkbox.

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old May 24th, 2007, 02:07 PM
Authorized User
 
Join Date: May 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help!!!







Similar Threads
Thread Thread Starter Forum Replies Last Post
Uncheck in groupbox of radio buttons alkh C# 0 November 8th, 2008 02:11 PM
check n uncheck items in checkboxlist in datalist moorejkrkumar ASP.NET 1.0 and 1.1 Basics 1 April 17th, 2007 01:39 PM
How to retain radio button check asif_aslam ASP.NET 1.0 and 1.1 Professional 0 May 4th, 2006 06:10 AM
check if a radio button has been checked crmpicco Javascript How-To 0 October 13th, 2005 09:53 AM
check if radio button list selection made jtyson Classic ASP Basics 1 July 3rd, 2004 12:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.