I have a website with multiple languages on of them is arabic which is right to left .
I have many text boxes and i could manage to set the cursor on the right via css .
The problem is i want the user to start writting in arabic directly without the need to change the writting language from keyboard.
are there any way to simulate the left alt + shift click which is used to change to arabic or any code to change the direction of the cursor in the textboxes automatically in arabic page .
i have read many posts before but none of them is useful for me i don't need localization soliution all i need is a way to change the writting language automatically if there is one .
Aldorado
Member
4 Points
6 Posts
How to Change Keyboard Layout Programmatically ?
Sep 05, 2008 11:02 PM|LINK
Hi There
I have a website with multiple languages on of them is arabic which is right to left .
I have many text boxes and i could manage to set the cursor on the right via css .
The problem is i want the user to start writting in arabic directly without the need to change the writting language from keyboard.
are there any way to simulate the left alt + shift click which is used to change to arabic or any code to change the direction of the cursor in the textboxes automatically in arabic page .
i have read many posts before but none of them is useful for me i don't need localization soliution all i need is a way to change the writting language automatically if there is one .
Thanks
Thanks
perrakus
Participant
796 Points
118 Posts
Re: How to Change Keyboard Layout Programmatically ?
Sep 05, 2008 11:08 PM|LINK
Do you want to change the Windows Keyboard layout from ASP.NET?
You can not.
Aldorado
Member
4 Points
6 Posts
Re: How to Change Keyboard Layout Programmatically ?
Sep 06, 2008 09:33 AM|LINK
Hi there
What i want to do is i want to let the user write directly in arabic without the need to press left alt + shift keys to change the writtig language .
but i don't need to change the whole language of the web site . only for few textoxex .
Thanks
yahya_ammour...
Member
16 Points
10 Posts
Re: How to Change Keyboard Layout Programmatically ?
Dec 21, 2011 08:29 AM|LINK
try the below article
just change the property "TextLanguage" for textbox
http://www.codeproject.com/KB/custom-controls/automatic_switch_textbox.aspx
</div>