CatchaLinkButtonText

3 posts, 1 answers
  1. Kamil Zmeskal
    Kamil Zmeskal avatar
    16 posts
    Member since:
    Sep 2012

    Posted 16 May 2010 Link to this post

    Hi,

    how can i prevent to generate inline style "display:block" for CatchaLinkButtonText? Class rcRefreshImage has lower priority than inline style :-(.

    Kamil
  2. Answer
    Pero
    Admin
    Pero avatar
    1156 posts

    Posted 19 May 2010 Link to this post

    Hi Kamil,

    Please mark the CSS style applied from the class selector as !important, and it will be applied instead of the inline style. Here is an example:

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head id="Head1" runat="server">
        <title></title>
        <style type="text/css">
            .rcRefreshImage
            {
                width: 100px;
                display: inline !important;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <telerik:RadScriptManager runat="server" ID="RSM">
            </telerik:RadScriptManager>
            <telerik:RadCaptcha ID="RadCaptcha_E" runat="server" ErrorMessage="Please enter the code shown correctly."
                CaptchaTextBoxLabel="ENTER CODE" EnableRefreshImage="true" CaptchaLinkButtonText="NEW IMAGE">
            </telerik:RadCaptcha>
            <asp:Button ID="Button1" runat="server" Text="Verify Code" />
        </div>
        </form>
    </body>
    </html>


    All the best,
    Pero
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kamil Zmeskal
    Kamil Zmeskal avatar
    16 posts
    Member since:
    Sep 2012

    Posted 19 May 2010 Link to this post

    Hi Pero,

    thank you !

    Kamil
Back to Top