Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > GridView reorder Columns

Reply
Thread Tools

GridView reorder Columns

 
 
=?Utf-8?B?RGFya28gS29ucmFk?=
Guest
Posts: n/a
 
      08-07-2006
Hi guys,

here's the problem:
I have a skin defined for my grid, where i define a template column for
deleting and selecting e.g.:
<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton AlternateText="Delete" ImageUrl="images/delete.png"
ID="_imgButtonDelete" runat="server" CommandName="Delete"
OnClientClick="return confirm('Are you sure you want to delete
this record?');" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton AlternateText="Select" ImageUrl="images/find.png"
ID="_imgButtonSelect" runat="server" CommandName="Select" />
</ItemTemplate>
</asp:TemplateField>

the problem is: if you define such columns in a skin file, that will make
these columns to always appear at the left side. I would like to have these
columns at the end. Whta is the best approach to achieve this?
--
thx and regards,
Darko
 
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
Re: reorder columns in a gridview eagle ASP .Net 0 08-02-2007 02:06 PM
reorder columns in a gridview eagle ASP .Net 2 07-29-2007 07:18 AM
template columns and bound columns in gridview Vinki ASP .Net Web Controls 2 04-25-2007 04:22 PM
Align table columns with gridview columns Jacksm ASP .Net 2 11-21-2006 09:49 PM
GridView reorder problems Kyle K. ASP .Net 0 10-04-2006 07:54 PM



Advertisments