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. 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. Michelle Stone

    datagrid columns programatically

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

    Creating Datagrid Programatically

    Raja Rajan J, Jul 8, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    137
    Raja Rajan J
    Jul 8, 2003
  5. rob thomson
    Replies:
    0
    Views:
    274
    rob thomson
    Sep 4, 2003
Loading...

Share This Page