Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 March 10th, 2006, 01:49 PM
Authorized User
 
Join Date: Jun 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Checkboxlist problem


I have a checkboxlist with 3 checkboxes - whose values are "S", "J" and "Q"
i needed a way on the server side i.e. on the chk_SelectedIndexChanged(object sender, System.EventArgs e) event
which would let me know, as which of the 3 checkboxes got selected or unselected.
the following code would give tell me the checked-unchecked state of the 3 checkboxes but wouldnt tell me, as which of the got clicked --
 ListItem lstSelf = chk.Items.FindByValue("S");
 ListItem lstSelf = chk.Items.FindByValue("J");
 ListItem lstSelf = chk.Items.FindByValue("Q");


Please help


 
Old March 12th, 2006, 01:36 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Why do you need to know the one that was clicked I don't see a way of doing it.






Similar Threads
Thread Thread Starter Forum Replies Last Post
repopulating CheckBoxList from db table problem enginev ASP.NET 2.0 Basics 0 April 1st, 2008 07:22 AM
Checkboxlist epkgupta Visual Studio 2005 0 March 11th, 2008 05:31 AM
CheckBoxList stu9820 ASP.NET 1.0 and 1.1 Basics 10 May 25th, 2006 08:15 PM
CheckBoxList eddiema VS.NET 2002/2003 1 April 9th, 2004 09:49 AM





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