GridView reorder Columns

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFya28gS29ucmFk?=, Aug 7, 2006.

  1. 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
     
    =?Utf-8?B?RGFya28gS29ucmFk?=, Aug 7, 2006
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shapper

    Is it possible to reorder a dataset?

    Shapper, Jun 19, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    725
    Brock Allen
    Jun 19, 2005
  2. farseer
    Replies:
    1
    Views:
    2,935
    farseer
    Jun 28, 2005
  3. K B
    Replies:
    0
    Views:
    526
  4. Kyle K.

    GridView reorder problems

    Kyle K., Oct 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    913
    Kyle K.
    Oct 4, 2006
  5. Jacksm
    Replies:
    2
    Views:
    1,101
    Paul Chalekian
    Nov 21, 2006
  6. eagle

    reorder columns in a gridview

    eagle, Jul 28, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    1,797
    Eliyahu Goldin
    Jul 29, 2007
  7. JohnE

    reorder list

    JohnE, Feb 6, 2010, in forum: ASP .Net
    Replies:
    2
    Views:
    871
    JohnE
    Feb 6, 2010
  8. Vinki

    template columns and bound columns in gridview

    Vinki, Apr 25, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    1,126
    Vinki
    Apr 25, 2007
Loading...