Changing the message "Type the code from the image"

6 posts, 0 answers
  1. Mehmet Ali Ozenci
    Mehmet Ali Ozenci avatar
    8 posts
    Member since:
    Jun 2009

    Posted 10 Sep 2009 Link to this post

    Is there a way to change / localize the message "Type the code from the image"?
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 14 Sep 2009 Link to this post

    Hi Mehmet,

    I have created a simple project that uses Resources for localization with ASP.NET. It displays different message to notify the user to enter the RadCaptcha code, based on the browser language settings. You can find the project attached to the thread. In addition I here is a link to a video captured while running the project.

    More information about using Resources for localization with ASP.NET can be found on the Microsoft website.


    Kind regards,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Abdullah Önden
    Abdullah Önden avatar
    20 posts
    Member since:
    Aug 2009

    Posted 05 Oct 2009 Link to this post

    Is not there any other easy options? Like a parameter? It should be.

    Edit: Yeah it's "CaptchaTextBoxLabel".
  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 07 Oct 2009 Link to this post

    Hi Abdullah,

    Yes, by setting the CaptchaTextBoxLabel property you can choose which text should explain the users to enter the code. Please note that there was a problem with this property. The actual text was never changed if the property was set dynamically, from the code behind.

    This problem is already fixed and the fix will appear in the next major release of our controls. Until then you can use the latest internal build.


    All the best,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Andy
    Andy avatar
    14 posts
    Member since:
    Jun 2009

    Posted 07 Oct 2009 Link to this post

    Hi there,

    I too have this issue - could you let us know when the next major release is going to be?
    Unfortunately this does not work either:

    C#

    public

     

    static string Testing = "Hello";

     

     

     

     

     

    Control

     <telerik:RadCaptcha ID="radCaptcha" runat="server" Display="Dynamic" CaptchaTextBoxLabel="<%#Testing%>">

     

    Regards.
    Andy

  7. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 08 Oct 2009 Link to this post

    Hello Andy,

    The next major release is scheduled for the beginning of November 2009.

    Until then you may try the following approach.

    1. Set the CaptchaTextBoxLabel=""

    2. Place a Label control below the RadCaptcha, that will inform the users to enter the RadCaptcha Code.

    3. Change the Text property of the Label dynamically.

    .aspx
    <telerik:RadCaptcha ID="radCaptcha" runat="server" Display="Dynamic" CaptchaTextBoxLabel="">
    <asp:Label ID="lblCaptcha" runat="server" Text="Type the Code from the Image">

    .cs
    lblCaptcha.Text = "Custom Text";


    Kind regards,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017