SortCommand without HeaderText

Discussion in 'ASP .Net' started by Jonathan, Sep 27, 2006.

  1. Jonathan

    Jonathan Guest

    Hi Everyone,
    I'm trying to use the built-in sorting functionality of the DataGrid
    control, but I'm finding that each column's HeaderText property is a
    little too restrictive for me - it's just a string - and I'd like to
    use the HeaderTemplate property instead. The problem is that I no
    longer get a "clickable" link for each of the column headers. Has
    anyone come across this problem before and how did they solve it?
    Regards,
    Jonathan
    Jonathan, Sep 27, 2006
    #1
    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. EatHam

    SortCommand not firing

    EatHam, Jan 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    571
    EatHam
    Jan 21, 2004
  2. Ken Tucker
    Replies:
    2
    Views:
    2,556
    Ken Tucker
    Jul 6, 2003
  3. Gandalf
    Replies:
    0
    Views:
    474
    Gandalf
    Aug 10, 2003
  4. Steven
    Replies:
    4
    Views:
    1,521
    Steven
    Oct 25, 2003
  5. John Sturgeon

    DataGrid SortCommand event not triggered

    John Sturgeon, Nov 26, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    578
    John Sturgeon
    Dec 2, 2003
Loading...

Share This Page