Re: Aligning DataGrid Columns!!
From: Scott M. (s-mar_at_nospam.nospam)
Date: 11/01/04
- Next message: Raju: "Re: aspnet_wp.exe (PID: 500) was recycled because memory consumpti"
- Previous message: Scott M.: "e.Item.ItemIndex and e.Item.DataSetIndex"
- In reply to: Anthony Judd: "Aligning DataGrid Columns!!"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 31 Oct 2004 21:43:05 -0500
First, you can only do this to a TemplateColumn.
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
.
.
.
</asp:TemplateColumn>
"Anthony Judd" <adam.jknight@optusnet.com.au> wrote in message
news:eq5%23q%23zvEHA.3228@TK2MSFTNGP12.phx.gbl...
> Can anyone tell me, how do right align datagrid columns?
> Help is appreciated!!
>
> <Columns>
> <asp:BoundColumn DataField="page_template_filename" ReadOnly="True"
> HeaderText="Template:"></asp:BoundColumn>
> <asp:BoundColumn DataField="navigation_item_name" ReadOnly="True"
> HeaderText="Name:"></asp:BoundColumn>
> <asp:TemplateColumn>
> <ItemTemplate>
> <asp:LinkButton CommandName="Edit" text="Edit" runat="server"
> />
> <asp:LinkButton CommandName="Delete" Text="Delete"
> runat="server" />
> </ItemTemplate>
> </asp:TemplateColumn>
> </Columns>
>
>
- Next message: Raju: "Re: aspnet_wp.exe (PID: 500) was recycled because memory consumpti"
- Previous message: Scott M.: "e.Item.ItemIndex and e.Item.DataSetIndex"
- In reply to: Anthony Judd: "Aligning DataGrid Columns!!"
- Messages sorted by: [ date ] [ thread ]