Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 August 27th, 2004, 01:03 AM
Authorized User
 
Join Date: Jul 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default CustomValidator won't work for me

I am trying to produce a serverside validation for a form password entry against password values in a database. I am using the CustomValidator control from the tool box. I have chosen the ServerValidate event for this control. It is my understanding that the clicking of a comand button will cause the ServerValidate event to fire. I have seen this work in an example program from my text book but I can't get the ServerValidate event to fire in the program I am writing. Assuming I am spelling everything correctly, what might be causing the event to stay idle when I press the comand button?

Cmarek
__________________
Cmarek
 
Old August 27th, 2004, 07:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you post your code?

 
Old August 27th, 2004, 05:06 PM
Authorized User
 
Join Date: Jul 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found my error. It seems that it is very easy to get things messed up if you re-name controls and procedures after they have already been established on the forms for a while. You can lose track of things and have a real mess in a hurry. I have found, that one should not write programs when one is tired. I know this but still ignore it. The next day, after a little rest, my erros stood out plainly for me to see.

Cmarek





Similar Threads
Thread Thread Starter Forum Replies Last Post
CustomValidator won't fire method cridley General .NET 4 August 4th, 2009 05:37 AM
Chapter 1 Ctrl+F5 don't work, F5 does work? jimboak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 June 29th, 2008 03:46 AM
why does it not work pauljames BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 January 16th, 2008 03:17 AM
Displaying CustomValidator Error Messages in alert farhan_iac General .NET 0 August 20th, 2004 12:37 AM





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