Hello,
I experience some odd behavior trying to set HorizontalAlign to right when using a radGrid created dynamically. The data binding is done this way:
grid.DataSource =dataTable;
grid.DataBind();
I'm setting the allignment this way:
grid.HorizontalAlign = HorizontalAlign.Right;
grid.HeaderStyle.HorizontalAlign = HorizontalAlign.Right;
grid.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
The header is align as expected, but the rows alternate their alignment, one time right, then one time left. I tried to disable the theme with the same result.
![]()
An other strange behavior occur when the headers include an 'é' character. A space is automatically added after the character.
Thanx for your help.
![]()
I experience some odd behavior trying to set HorizontalAlign to right when using a radGrid created dynamically. The data binding is done this way:
grid.DataSource =dataTable;
grid.DataBind();
I'm setting the allignment this way:
grid.HorizontalAlign = HorizontalAlign.Right;
grid.HeaderStyle.HorizontalAlign = HorizontalAlign.Right;
grid.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
The header is align as expected, but the rows alternate their alignment, one time right, then one time left. I tried to disable the theme with the same result.
An other strange behavior occur when the headers include an 'é' character. A space is automatically added after the character.
Thanx for your help.