Click here to Skip to main content
15,914,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I have a application with couple of textboxes. I need to enter text in english for some textbox and arabic for some textbox. Can you please advise how to do this task.

Thanks
Posted

try to use resource files as Localization
and/or also you can detect it programmatically and change elements directions (RTL, LTR)

example resource :
<form id="frmExample" runat="server" dir="<%$ Resources:myrsx, dir %>"></form>


or programmatically :
Me.pnlExample.Direction = ContentDirection.RightToLeft
 
Share this answer
 
Comments
ntrraorao 22-Jun-10 3:05am    
Reason for my vote of 1
How do we implement localization for textboxes? How do we assume users entered data?
How do we implement localization for textboxes?

seriously try to read http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/localization.aspx

if your HTML "dir" is RTL all your page element is RTL.
if your panel is RTL all element in this panel is RTL, textbox is HTML element [input type="text"] and panel just [DIV].

How do we assume users entered data?

I don't understand this question!
 
Share this answer
 

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