Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one textbox when page is loading cusror must focus at the right hand side of the textbox .And Needful information appriciate
Posted

I am not sure but setting the culture to Arabic might just help. But then it may cause other problems.

Why do you want such functionality?

One work around I can think of is - fill the TextBox with blank spaces. You have to determine the number of spaces required. But again the text will start after those spaces. So you may have to handle onkeypress event to remove those, based on your requirement.

You may get better help if you add more specifics to your question (by selecting 'Improve Question').
 
Share this answer
 
<asp:TextBox ID="TextBox2" style="text-align:right;" Text=""  runat="server"></asp:TextBox>


TextBox2.Focus(); in page load or any event when you want the focus in textbox.
 
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