Sorting not working correctly

Discussion in 'ASP .Net Datagrid Control' started by Vishal, Feb 21, 2005.

  1. Vishal

    Vishal Guest

    Hey,

    I am trying to do the same as described here
    (http://www.wintellect.com/forum/topic.asp?TOPIC_ID=709).
    The only difference is that I have extended the datagrid
    with my coponent. Now whenever I do a sort, then the it
    basically works. The only problem is that lets say I order
    column 0, then the link header looks like this:

    javascript:__doPostBack('AADataGridStores$_ctl1$_ctl0','')

    And it sorts according the column 0. After the postback
    has occured this header changes to:

    javascript:__doPostBack('AADataGridStores$_ctl1$_ctl1','')

    which is column 1 and wrong. I want to sort by col0. Any
    idea what is going on here?
     
    Vishal, Feb 21, 2005
    #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. =?Utf-8?B?SUdvdFlvdXJEb3ROZXQ=?=

    sort not working correctly

    =?Utf-8?B?SUdvdFlvdXJEb3ROZXQ=?=, Aug 18, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    672
    =?Utf-8?B?SUdvdFlvdXJEb3ROZXQ=?=
    Aug 18, 2004
  2. Stuart Palmer

    History not working correctly

    Stuart Palmer, Jun 2, 2004, in forum: HTML
    Replies:
    0
    Views:
    470
    Stuart Palmer
    Jun 2, 2004
  3. rosemm
    Replies:
    2
    Views:
    960
    Martin Honnen
    Apr 5, 2005
  4. Frederic Jolliton

    Thread not working correctly under FreeBSD

    Frederic Jolliton, Oct 23, 2003, in forum: Python
    Replies:
    4
    Views:
    476
    Frederic Jolliton
    Oct 24, 2003
  5. Jimmy M
    Replies:
    4
    Views:
    675
    Jimmy M
    Sep 19, 2006
  6. Nomen Nescio

    Datagrid Viewstate not working correctly?

    Nomen Nescio, Feb 7, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    425
    Non scrivetemi
    Feb 7, 2007
  7. Jonathan Burd

    __atoi64 not working correctly

    Jonathan Burd, Jan 21, 2005, in forum: C Programming
    Replies:
    17
    Views:
    1,073
    Chris Croughton
    Jan 22, 2005
  8. Replies:
    26
    Views:
    2,285
    Richard Heathfield
    Mar 4, 2007
Loading...