Trouble with arabic text!

Posted by Community Admin on 03-Aug-2018 12:22

Trouble with arabic text!

All Replies

Posted by Community Admin on 23-Feb-2011 00:00

I've created a custom control which extends sitefinity search control, but the problem is some how the Arabic text in control not encoding well, what should I do for using Arabic text in controls?

Posted by Community Admin on 23-Feb-2011 00:00

Hello saeid,

Try to use HttpUtility.UrlDecode before setting the text.

Regards,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 23-Feb-2011 00:00

Sorry my bad, maybe I didn't say the problem correctly,
my problem is the Encoding of Arabic text as text attribute of label, textbox or any asp.net control (RadControl) in the Custom sitefinity Controls. 
Please see the picture of the first post.

Posted by Community Admin on 25-Feb-2011 00:00

Hi saeid,

There are methods Server.HtmlEncode and Server.HtmlDecode that you can use to manipulate the text of your control. Sitefinity supports localization so you can use our labels.

<asp:Literal runat="server" ID="Literal16" Text="<%$ Resources:MyMessage, MyTest %>" />

Greetings,
Ivan Dimitrov
the Telerik team

This thread is closed