Click here to Skip to main content
16,012,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I can't find how to disable my validators?
VB
Protected Sub ibtnLogo_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibtnLogo.Click
        rfvBevestigEmail.Enabled = False
        rfvBevestigPass.Enabled = False
        rfvEmail.Enabled = False
        rfvFamilienaam.Enabled = False
        rfvPass.Enabled = False
        rfvUsername.Enabled = False
        rfvVoornaam.Enabled = False
        cvBevestigingEmail.Enabled = False
        cvBevestigPas.Enabled = False
        revEmail.Enabled = False
    End Sub
Posted

you donot need to disable it..

Just use validation group on button...


ASP.NET ValidationGroup Property[^]
 
Share this answer
 
 
Share this answer
 
write the causesvalidation property of button to false
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900