RadCaptcha Skin Not Working

2 posts, 0 answers
  1. David
    David avatar
    13 posts
    Member since:
    Jun 2012

    Posted 15 Oct 2018 Link to this post

    I have used the Telerik RadCaptcha control in a number of projects and can never get a skin to work with it. All other controls are using the skin defined in the Web.config file in the key:

    <add key="Telerik.Skin" value="Bootstrap"/>

     

    Does anyone have any idea why the RadCaptha is the only control that doesn't follow this in my projects?

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5517 posts

    Posted 15 Oct 2018 Link to this post

    Hello David,

    The captcha is not really styled to begin with and so changing skins does little to affect it. The image is always the same regardless of the skin, the buttons are <asp:LinkButton> controls and the textbox is a plain <asp:TextBox> that has a label for the instructional message.

    The textbox and info message label can be decorated with a RadFormDecorator, like it is done in our demos: https://demos.telerik.com/aspnet-ajax/captcha/examples/overview/defaultcs.aspx.

    You can also set appearance properties to the captcha to match your site stylesheet: https://docs.telerik.com/devtools/aspnet-ajax/controls/captcha/appearance-and-styling/textbox-and-label-decoration.


    Regards,
    Marin Bratanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top