Problem sorting datagrid when creating columns programatically

Discussion in 'ASP .Net Web Controls' started by Dima, Jan 7, 2004.

  1. Dima

    Dima Guest

    I have a datagrid for which I programatically create the
    columns, AutoGenerateColumns is set to false. I'm
    creating the columns and setting the sortExpression in
    code. However when the sort link (the column heading) is
    clicked a post back occurs but does not trigger the sort
    event. I've read that this is a problem. Has anyone
    found a work around?
     
    Dima, Jan 7, 2004
    #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. Alex
    Replies:
    0
    Views:
    553
  2. Michelle Stone

    datagrid columns programatically

    Michelle Stone, Oct 30, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    422
  3. Replies:
    5
    Views:
    856
  4. Scott
    Replies:
    2
    Views:
    504
    Scott
    Aug 9, 2007
  5. Raja Rajan J

    Creating Datagrid Programatically

    Raja Rajan J, Jul 8, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    235
    Raja Rajan J
    Jul 8, 2003
  6. rob thomson
    Replies:
    0
    Views:
    449
    rob thomson
    Sep 4, 2003
  7. ton
    Replies:
    2
    Views:
    335
    Alvin Bruney [MVP]
    Feb 11, 2004
  8. John Walsch
    Replies:
    0
    Views:
    388
    John Walsch
    Jul 9, 2004
Loading...