Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Aligning DataGrid Columns!!

Reply
Thread Tools

Aligning DataGrid Columns!!

 
 
Anthony Judd
Guest
Posts: n/a
 
      10-31-2004
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>


 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      11-01-2004
First, you can only do this to a TemplateColumn.

<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
right aligning values in datagrid column nemo ASP .Net 1 09-16-2005 02:58 AM
aligning datagrid columns =?Utf-8?B?SmVubmlmZXI=?= ASP .Net 1 11-22-2004 05:03 PM
Datagrid - Aligning Items Dave ASP .Net 2 11-13-2003 10:47 AM
aligning datagrid with datasource Jan Limpens ASP .Net Building Controls 2 11-07-2003 02:59 PM
aligning datagrid with datasource Jan Limpens ASP .Net 2 11-07-2003 02:59 PM



Advertisments