This is a migrated thread and some comments may be shown as answers.

Changing the message "Type the code from the image"

5 Answers 401 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Mehmet Ali Ozenci
Top achievements
Rank 1
Mehmet Ali Ozenci asked on 10 Sep 2009, 11:45 AM
Is there a way to change / localize the message "Type the code from the image"?

5 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 14 Sep 2009, 10:26 AM
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.
0
Abdullah Önden
Top achievements
Rank 1
answered on 05 Oct 2009, 06:48 AM
Is not there any other easy options? Like a parameter? It should be.

Edit: Yeah it's "CaptchaTextBoxLabel".
0
Pero
Telerik team
answered on 07 Oct 2009, 11:06 AM
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.
0
Andy
Top achievements
Rank 1
answered on 07 Oct 2009, 12:07 PM
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

0
Pero
Telerik team
answered on 08 Oct 2009, 01:58 PM
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.
Tags
Captcha
Asked by
Mehmet Ali Ozenci
Top achievements
Rank 1
Answers by
Pero
Telerik team
Abdullah Önden
Top achievements
Rank 1
Andy
Top achievements
Rank 1
Share this question
or