GridView reorder Columns

G

Guest

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top