Created
October 1, 2013 13:15
-
-
Save umair-me/6778253 to your computer and use it in GitHub Desktop.
recaptcha not working in asp.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void Button1_Click(object sender, EventArgs e) | |
{ | |
Page.Validate(); <--- you need this | |
if (Page.IsValid) | |
{ | |
lblResult.Text = "All Good"; | |
} | |
else | |
{ | |
lblResult.Text = "The words you entered are incorrect"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment