Junior1544
Technical User
I am tring to make a server side custom validator...
It wont fire at all... I'm using vs.net.
Here is the html for the control:
<asp:customvalidator id="customvalidator1" runat="server" controltovalidate="name" errormessage="Invalid Name.">*</asp:customvalidator>
and in the vb codebehind file this is the code for it...
(keeping in mind, i'm just tring to get it to fire...)
Private Sub Custom Validator1_ServerValidate(byval source as System.object, byval args as System.web.ui.webcontrols.servervalidateeventargs) handles customvalidator1.servervalidate
args.isvalid=false
end sub
Any idea's??
--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.
It wont fire at all... I'm using vs.net.
Here is the html for the control:
<asp:customvalidator id="customvalidator1" runat="server" controltovalidate="name" errormessage="Invalid Name.">*</asp:customvalidator>
and in the vb codebehind file this is the code for it...
(keeping in mind, i'm just tring to get it to fire...)
Private Sub Custom Validator1_ServerValidate(byval source as System.object, byval args as System.web.ui.webcontrols.servervalidateeventargs) handles customvalidator1.servervalidate
args.isvalid=false
end sub
Any idea's??
--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.