Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Custom Validator Control

Thread Tools

Custom Validator Control

Posts: n/a
Hello. Would anyone know why a custom validator never returns invalid?

As you can see in this Sub, it should always return invalid but it always
returns that it's valid.

Private Sub val_txtArrivalTime_ServerValidate(ByVal source As System.Object,
ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles

args.IsValid = False

End Sub

Does anyone know what I may be doing wrong?

Thanks in advance,
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts Validator - creditCard validator Java 4 02-13-2007 08:32 PM
Re: Adding Validator Control at runtime in a Custom Control ASP .Net 1 12-17-2004 09:14 PM
Possible to create a composite control that has a child control that is a validator that validates the composite control itself? Jonathan Eric Miller ASP .Net Building Controls 2 07-22-2004 10:58 PM
How to get custom control to work with custom validator Scott Yenor ASP .Net Web Controls 0 01-27-2004 12:37 AM
ControlDesigner not invoked on custom control when control is rendered within another custom control Matt Sokol ASP .Net Building Controls 2 08-07-2003 07:13 AM