|
-
May 6th, 2003, 02:10 PM
#1
Right Justify a Textbox Server Control
How does one Right Justify text in a TextBox Server Control? The control is reading data from a datatable but it always displays left-justified.
Thanks in advance
Ray
-
May 7th, 2003, 09:24 AM
#2
I'm not sure what you are trying to do but if you what your textbox, labels etc. to be with right to left alignment, you should
set the dir paramether to rtl instead of ltr.
vs.net has this parameter in the winform parameters.
it sets it in the html tag.
I prefer to see it in the form tag.
If you want different alignment for each textbox - I don't know how to do that - someone suggested to try css but I didn't try it yet.
Good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|