Captcha in UserControl

Posted by Community Admin on 03-Aug-2018 09:01

Captcha in UserControl

All Replies

Posted by Community Admin on 05-Feb-2016 00:00

Sitefinity 7.2  we have a usercontrol that needs a captcha.

I can put this in and it works but it requires a script manager and I can't get around it

<telerik:RadCaptcha ID="captcha" runat="server" ErrorMessage="The code you entered is not valid." Display="Dynamic" ForeColor="Red" ValidationGroup="IsValid" >
                <TextBoxDecoration Width="90%" />
                <TextBoxLabelDecoration  />
            </telerik:RadCaptcha>

 

any suggestions?

 

also I can't get Thunder to work for this so using thunder is out at least for now until I get time to figure that out.

Posted by Community Admin on 09-Feb-2016 00:00

Hi Theodore,

Can you please add a script manager control on the widget template?

Here is a sample for your convenience:

<asp:ScriptManager runat="server" ID="ScriptManager1" />

You may also refer to the below resources for more details about adding captcha control in Sitefinity widgets:

http://www.sitefinity.com/developer-network/knowledge-base/details/extend-subscribe-form-widget-with-server-side-captcha-validation

http://www.sitefinity.com/blogs/stanislav-velikovs-blog/2013/09/20/server-side-captcha-for-sitefinity-forms

www.sitefinity.com/.../registration-widget-with-integrated-captcha-spam-protection-in-sitefinity-cms

Regards,
Sabrie Nedzhip
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed