Trouble with arabic text!
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?
Hello saeid,
Try to use HttpUtility.UrlDecode before setting the text.
Regards,
Ivan Dimitrov
the Telerik team
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.
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