This is a migrated thread and some comments may be shown as answers.

CAPTCHA Without ASP.NET Form

1 Answer 63 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
digitall
Top achievements
Rank 1
digitall asked on 31 Aug 2012, 02:39 PM
I wrote a generic HTTP handler for submitting forms that is shared throughout my site like this:

<form action="formmail.ashx" method="post">
     <!-- form contents here -->
</form>

This is so the graphic artists on my team can put anything they want inside it form-wise and it doesn't rely on a form that has runat="server" in it (so no postbacks in the typical sense that we're all used to). Given that, I'm also not doing any server checking for whether the page is valid behind the button itself which is where my real question lies. Is it possible to utilize RadCaptcha in this manner and it still prevent the form from submitting? Or do I have to migrate to an ASP.NET form that can do a Page.IsValid?

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 05 Sep 2012, 10:55 AM
Hi Scott,

I am afraid that using the RadChaptcha as you described will not be possible. This stems from the fact that it depend on the ASP.NET Page and control lifecycle. I would suggest using an ASP.NET page in order to add the RadCaptcha, if this is possible in your scenario.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Captcha
Asked by
digitall
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or