In ASP.NET Web Application
Usually in Text-box numbers starts from left side of the text-box
But i want the numbers to start from Right to left
I check in properties of text-box to any alignment but i didn't find it.
You need to do it with css styling, add "text-align:right" to the control.
Example:
<asp:TextBox id="textBoxNumber" runat="server" style="text-align:right"></asp:TextBox>
You can also use CSS property "direction".
Example:
<asp:TextBox ID="TextBox1" runat="server" CssClass="rtol"></asp:TextBox>
CSS:
.rtol { direction:rtl; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With