Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi All,

I have few text boxes and i need set Arabic input for those text box .
how can i do that pls help me........i am sitting on a volcano now pls pls pls

I wrote the below code, but it doesn't working....




<asp:TextBox runat="server" CssClass="arabic" ID="txtbx_Rights_Ar" Width="150px" MaxLength="200">


CssClass

.arabic{font-family:Traditional Arabic; direction:rtl;}


Please help me.

Thanks in Advance.
Posted
Updated 6-Jul-11 21:32pm
v2
Comments
Sergey Alexandrovich Kryukov 7-Jul-11 3:40am    
ASP.NET? Add it as a tag!
--SA
BobJanova 7-Jul-11 5:18am    
Do you have the font you're trying to use installed on the client machine?
abdul wahab.o 7-Jul-11 6:41am    
I am using an open source arabic font.

 
Share this answer
 
first you will add the arabic font file into client machine(c:windows//Fonts) then you will try
 
Share this answer
 
 
Share this answer
 
v2
Right to left support - see here[^].
 
Share this answer
 
Comments
abdul wahab.o 7-Jul-11 3:40am    
its already working with above code(Right to left support).
but when i typing on that text box the contents are appearing in english
Espen Harlinn 7-Jul-11 14:17pm    
You need to set input language for your computer
Sergey Alexandrovich Kryukov 7-Jul-11 3:40am    
Sure, a 5.
--SA
Abhinav S 7-Jul-11 14:20pm    
Thanks SA.
Espen Harlinn 7-Jul-11 14:16pm    
My 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900