+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Captcha in UserControl

Captcha in UserControl

2 posts, 0 answered
  1. Theodore
    Theodore avatar
    6 posts
    Registered:
    02 Mar 2012
    05 Feb
    Link to this post

    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.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    05 Dec 2016
    09 Feb
    Link to this post
    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

    http://www.sitefinity.com/blogs/kaloyan-savovs-blog/2013/12/03/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
     
2 posts, 0 answered