473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

checboxlist can not be validated

147 100+
Hello

I have a form which the user fills out which includes text boxes, drop down lists, radio button lists and check box lists. All of which use the RequiredFieldValidator and at the top of the page I display a ValidationSummary.

All works fine other than (as I'm sure you know) checkboxlists.

A quick search shows there is no standard control to validate checkboxlists. D'oh!!

I want to know what the best way forward (custom validation?) is as I want the invalid comments to appear within the validationsummary (or is this just asking for trouble) to keep everything together?

Any ideas?
Feb 24 '10 #1
3 1086
semomaniz
210 Expert 100+
I hope this will help

http://www.4guysfromrolla.com/webtec...040302-1.shtml
Feb 24 '10 #2
DaveRook
147 100+
Hi

Yes it does, although does any one know why Microsoft would leave this out?! I assume for security reasons but any better explanation would be great!

Thank you for your help, it has worked

Dave
Feb 25 '10 #3
semomaniz
210 Expert 100+
I am glad it worked out for you.
Feb 25 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: wooks | last post by:
I apologise if this has been asked before, it is a bit hard to search for. I have an xml schema which defines the elements in the namespace "urn:dummy". The schema does not contain any...
3
by: Teddybearsrcute8 | last post by:
Hello, This is my first time using the CSS validator.(http://jigsaw.w3.org) I created an external style sheet and validated the html document, but I'm not sure why I'm getting these errors....
5
by: Liam Caffrey | last post by:
Hi, It appears that binary_checksum can give the same checksum for different strings, which is a bit worrying. (I guess the algorithm is the problem in the context of a repeating pattern.) ...
0
by: charliewest | last post by:
I have an ASP.NET web form page, which includes a "search" include file. The search include file consists of a textbox, dropdownlist, and submit button. Both the textbox and dropdownlist have...
2
by: Ken Loomis | last post by:
Hello: I'm using the validating event on a text boxes to test for valid dates, doubles, etc. The problem is that if the field is not required and a blank value is OK and the user deletes a...
3
by: mallik | last post by:
Seems like we have a strange problem. Development environment is win 2000 prof, IIS5.0, QA environment is Windows 2003 server, IIS 6.0. Everything works as expected on Dev. machine, but when...
2
by: Chris Kettenbach | last post by:
Does a control need to inherit an interface to be "validatable" :)? I have a custom control ascx file. I want to name it as the control to be validated by an asp:validator. When I do that, I get...
1
by: Simon Verona | last post by:
I'm confused! I have a usercontrol which is basically an extension of the textbox - it is hosted in the user control because there are other controls held on the usercontrol as well. I have...
5
by: =?Utf-8?B?QmVuIFIu?= | last post by:
Hi, In a .NET 2.0 winforms application, I've got a textbox that, when updated, uses the validated event to cascade the change to another textbox (along with another value). This works well if...
2
by: Tony | last post by:
Hello! There is an event Validating that can be used on TextBox that are very useful but there are also an event named Validated that I can't find much use of. Have you see any useful times...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.