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. Advertising

  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. Advertising

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. Replies:
    0
    Views:
    2,455
  2. =?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,730
    Steven Cheng[MSFT]
    Jan 3, 2006
  3. tonicvodka
    Replies:
    0
    Views:
    345
    tonicvodka
    Jan 18, 2006
  4. Replies:
    2
    Views:
    2,064
  5. Teej
    Replies:
    2
    Views:
    307
Loading...

Share This Page