How to align text within a FooterTemplate cell in a GridView

Shimmy Weitzhandler picture Shimmy Weitzhandler · Jun 16, 2009 · Viewed 10.5k times · Source

How to align text within a FooterTemplate cell in a GridView

I tried the following but the text is still centered (there is a parent center tag):

<FooterTemplate>
    <span style="size:100%; padding:0; text-align: right">Total:&nbsp;</span>
</FooterTemplate>

Answer

Matthew Jones picture Matthew Jones · Jun 16, 2009

In the parent column of the template try setting FooterStyle-HorizontalAlign="Right"