When load ascx user control with captcha and it's never been validated, even if I enter right code which I can see on a textbox by captcha.CaptchaImage.Text.
Pero, you wrote " register the UserControl directly in the .aspx page, or load it at Page.Init"
How can I do it?
I'm doing
in .aspx file
then, on menu (in aspx) selection, I fill PlaceHolder with contact by myPlaceHolder.Controls.Add(contact)
I set all elements in my ValidationGroup with SubmitGroup. SubmitButton and captcha as well.
All elements from the resulting page, such as RequiredFieldValidator (3 of them at the form) are working ok, but the captcha IsValid property is always false.
What am I doing wrong?
Pero, you wrote " register the UserControl directly in the .aspx page, or load it at Page.Init"
How can I do it?
I'm doing
}
in .aspx file
then, on menu (in aspx) selection, I fill PlaceHolder with contact by myPlaceHolder.Controls.Add(contact)
I set all elements in my ValidationGroup with SubmitGroup. SubmitButton and captcha as well.
All elements from the resulting page, such as RequiredFieldValidator (3 of them at the form) are working ok, but the captcha IsValid property is always false.
What am I doing wrong?