Velocity Reviews

Velocity Reviews (
-   ASP .Net (
-   -   Compare validator problem in user control (

David Hearn 06-13-2006 02:39 AM

Compare validator problem in user control
I have a user control that I created that I use in one page right now. It
has a textbox in it that is used to enter a date. I am using a compare
validator to validate the date format which works fine if you enter a date
and then use the tab key to leave the control. The problem is that it should
also be firing if the date is not correctly formatted when the user clicks
on a button that is in the parent page. The button has the CausesValidation
property set as true but I cannot get the validator to fire. I know it has
something to do with the fact that it is in a user control but I can't
figure out what? Is there a way to force the thing to validate?

Thanks in advance!

All times are GMT. The time now is 01:28 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.