Velocity Reviews - Computer Hardware Reviews

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

Thread Tools

Aligning DataGrid Columns!!

Anthony Judd
Posts: n/a
Can anyone tell me, how do right align datagrid columns?
Help is appreciated!!

<asp:BoundColumn DataField="page_template_filename" ReadOnly="True"
<asp:BoundColumn DataField="navigation_item_name" ReadOnly="True"
<asp:LinkButton CommandName="Edit" text="Edit" runat="server"
<asp:LinkButton CommandName="Delete" Text="Delete"
runat="server" />

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

<ItemStyle HorizontalAlign="Right"></ItemStyle>
Reply With Quote

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