Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 April 5th, 2004, 04:52 PM
Registered User
 
Join Date: Oct 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default CheckBoxList

Hello all

I have a checkbox list that was created using a datareader. I problem I find in this approach is that I can't validate what items were selected. Below is sample of how the checkboxes appear in source view.


<span id="data1"><input id="data1_0" type="checkbox" name="data1:0" /><label for="data1_0">Survey</label><input id="data1_3" type="checkbox" name="data1:3" /><label for="data1_3">test4</label><input id="data1_5" type="checkbox" name="data1:5" /><label for="data1_5">test6</label><input id="data1_7" type="checkbox" name="data1:7" /><label for="data1_7">test8</label><input id="data1_9" type="checkbox" name="data1:9" /><label for="data1_9">test10</label><br><input id="data1_1" type="checkbox" name="data1:1" /><label for="data1_1">Coding</label><input id="data1_4" type="checkbox" name="data1:4" /><label for="data1_4">test5</label><input id="data1_6" type="checkbox" name="data1:6" /><label for="data1_6">test7</label><input id="data1_8" type="checkbox" name="data1:8" /><label for="data1_8">test9</label><input id="data1_10" type="checkbox" name="data1:10" /><label for="data1_10">test11</label><br><input id="data1_2" type="checkbox" name="data1:2" /><label for="data1_2">Web</label></span>


 
Old April 9th, 2004, 09:49 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

Where do you want to validate - on the server or client? And what language?





Similar Threads
Thread Thread Starter Forum Replies Last Post
CheckboxList and SQLDataSource keithroby ASP.NET 3.5 Basics 5 December 3rd, 2008 03:19 PM
Checkboxlist epkgupta Visual Studio 2005 0 March 11th, 2008 05:31 AM
CheckBoxList Headers Ric_H C# 0 June 26th, 2006 10:29 AM
Get Values from Checkboxlist derekl ASP.NET 1.0 and 1.1 Basics 3 May 26th, 2006 09:46 AM
CheckBoxList stu9820 ASP.NET 1.0 and 1.1 Basics 10 May 25th, 2006 08:15 PM





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