Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Apr 2001
    Location
    Warrington, Cheshire
    Posts
    355
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Get a button list to sort with remaining list (.net)

    I have a table which has allowsorting=true
    I also have a button column (text is SELECT) in this list.
    When I open the page and click on the SELECT link, I get redirected to a page relevant to the selected row.
    When I open the page, sort the list and then click on the SELECT link, I get redirected to a page relevant to the original unsorted value of the row.
    For example,
    If my page is originally A to Z on opening, and I select the first row (A), I get all A clients
    If my page is resorted Z to A and I then select the first row (Z), I still get all A clients

    Suggestions?
    Thanks
    Alan

  2. #2
    3 Star Lounger
    Join Date
    Apr 2001
    Location
    Warrington, Cheshire
    Posts
    355
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Get a button list to sort with remaining list (.net)

    Sorted - so to speak.
    The hand is quicker than the eye - and the code is quicker than the hand.
    The "error" was occurring as the list was resorted in the original order JUST before the drill command was executed.

    Found it when debugging after a couple of days away.

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •