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

MVC

1 Answer 130 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer asked on 13 Jul 2009, 03:58 PM
Hi,

Do you have any sample how to use the control in a ASP.NET MVC site?
Or is it impossible because it's an "ASP.NET server-based control" ?

Thanks
Eric

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 15 Jul 2009, 07:22 AM
Hello Eric,

The RadCaptcha control is designed to work as an ASP.NET Validator - it inherits from the ASP.NET BaseValidator class, which means that it also requires a <form> tag on the page in order to work. The RadCaptcha validation is performed on postback. By default, MVC applications do not use forms, so the RadCaptcha control cannot be used there.

Kind regards,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Captcha
Asked by
Eric Schoenholzer
Top achievements
Rank 2
Answers by
Pero
Telerik team
Share this question
or