sortable column image

Discussion in 'ASP .Net Datagrid Control' started by anonymous, May 13, 2005.

  1. anonymous

    anonymous Guest

    I have a 3 columns in my grid which I can sort on.
    How do I can some image to the column to show which way
    column currently sorted?
     
    anonymous, May 13, 2005
    #1
    1. Advertisements

  2. anonymous

    Brock Allen Guest

    If your columns are TemplateColumns, then in addition to the ItemTemplate
    you can also provide a HeaderTemplate and dynamically change the image based
    upon the sort column.

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > I have a 3 columns in my grid which I can sort on.
    > How do I can some image to the column to show which way
    > column currently sorted?
     
    Brock Allen, May 17, 2005
    #2
    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. Jim Hammond
    Replies:
    1
    Views:
    3,914
    bruce barker
    Nov 26, 2003
  2. Replies:
    0
    Views:
    2,732
  3. =?Utf-8?B?VFBoZWxwcw==?=

    Sortable/pagable datagrid with hyperlink column

    =?Utf-8?B?VFBoZWxwcw==?=, Dec 29, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    4,993
    Steven Cheng[MSFT]
    Jan 3, 2006
  4. tonicvodka
    Replies:
    0
    Views:
    468
    tonicvodka
    Jan 18, 2006
  5. Replies:
    2
    Views:
    2,277
  6. Henri =?ISO-8859-15?Q?Schom=E4cker?=
    Replies:
    1
    Views:
    422
    Henri =?ISO-8859-15?Q?Schom=E4cker?=
    Dec 17, 2005
  7. tonicvodka

    Multiple sortable headers(linkbuttons) per column?

    tonicvodka, Jan 18, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    219
    tonicvodka
    Jan 18, 2006
  8. Teej
    Replies:
    2
    Views:
    531
Loading...