Wrox Programmer Forums
BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Server Control and Component Development by Dr. Shahram Khosravi; ISBN: 9780471793502
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 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 13th, 2009, 03:05 AM
Registered User
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CreditCard Control Validators help

Even though I am developing using 3.5 I am using this book to learn about Server Controls.
Using Chapter 5 and 6

I am trying to implment validators and i keep getting an error
"Unable to find Control Id "creditCardNoTextBox " referenced by the controlToValidate property of my "reqCreditCardNoTextBox"

This is what I have done
Added a RequiredFieldValidator creditCardNoRequired
Added CreditCardControlContainer creditCardNoValidatorContainer
Added a ContainerType.CreditCardNoValidator
Added a case to CreateContainerChildControl to include CreditCardNoValidator
Added to ApplyContainerStyle
Added to RenderContents

case ContainerType.CreditCardNoValidator:
creditCardNoRequired.ControlToValidate="creditCard NoTextBox"
creditCardNoRequired.Display=Validator.Display=Dyn amic


What Am I doing Wrong?
Can you help?
Thanks a lot

Similar Threads
Thread Thread Starter Forum Replies Last Post
requiredfield validators issue alienaheart ASP.NET 2.0 Professional 1 October 24th, 2008 01:29 PM
Javascipt and validators toma12 ASP.NET 2.0 Professional 0 October 3rd, 2006 12:06 PM
Error: 'Page Validators' is undefined camelia_flower C# 3 September 20th, 2004 08:20 PM
Two buttons, One page, + req~validators? developerz BOOK: ASP.NET Website Programming Problem-Design-Solution 4 October 1st, 2003 01:20 AM
Validators not working in DataGrid swanand VS.NET 2002/2003 0 September 9th, 2003 06:15 AM

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