IceMan713
asked on
change alignment of template column (textbox) in Datagrid
Hi,
I have a datagrid with several template columns that are databound. I was able to change the alignment of the template columns IF the control is a label but if it is a textbox it doesn't change it. Anyone has an idea how to change it during design time or run time? Thanks.
I have a datagrid with several template columns that are databound. I was able to change the alignment of the template columns IF the control is a label but if it is a textbox it doesn't change it. Anyone has an idea how to change it during design time or run time? Thanks.
ASKER
I'm sorry I was not clear in my first comment, this is for a Web application.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cause in Windows Application, you can do this with the tablestyle and columnStyle's properties.