locked
How to Change Keyboard Layout Programmatically ? RRS feed

  • Question

  • User1212812588 posted

     

    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

    Friday, September 5, 2008 7:02 PM

All replies

  • User-1348646168 posted

    Do you want to change the Windows Keyboard layout from ASP.NET?

    You can not.

    Friday, September 5, 2008 7:08 PM
  • User1212812588 posted

    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

    Saturday, September 6, 2008 5:33 AM
  • User-1841404968 posted

    try the below article


    just change the property "TextLanguage" for textbox

    http://www.codeproject.com/KB/custom-controls/automatic_switch_textbox.aspx

    Wednesday, December 21, 2011 4:29 AM