You're right in that there's no built-in property. You can achieve this, however, through stylesheets: <code> style="text-align: right" </code> Just add that to the TextBox control in the ASPX page.
Thank you! couldn't implement as suggested as I'm formatting dynamically created controls, but <CODE> ...Attributes.Add("style","text-align: right"); </CODE> does the job very nicely!!! :)
1 answers
You're right in that there's no built-in property. You can achieve this, however, through stylesheets:
<code>
style="text-align: right"
</code>
Just add that to the TextBox control in the ASPX page.
answered 2 years ago by:
0
Thank you!
couldn't implement as suggested as I'm formatting dynamically created controls, but
<CODE>
...Attributes.Add("style","text-align: right");
</CODE>
does the job very nicely!!!
:)
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!