Filtered ListDetails.aspx DetailsPanel shows entry not in list on page load

Last post 07-15-2009 1:30 PM by BHunsaker. 0 replies.

Sort Posts:

  • Filtered ListDetails.aspx DetailsPanel shows entry not in list on page load

    07-15-2009, 1:30 PM
    • Member
      1 point Member
    • BHunsaker
    • Member since 01-18-2009, 8:54 PM
    • Posts 9

    I'm using a dynamic data entities web site.  The backing database has a Cabinets table and a PhysicalKeys table with a foeign key pointing to the cabinet.  The idea here is we have a list of metal keys and where they are located around the building.  A cabinet can contain many metal keys.

    So, I go to the http://localhost/website/Cabinets/ListDetails.aspx which very nicely lists all the cabinets.  I then select, the "View PhysicalKeys" link for a specific cabinet which brings up the web page http://localhost/website/Keys/ListDetails.aspx?Cabinets.idCabinet=25

    The DetailsView at the top of the page shows a PhysicalKey which is not in the filtered list.  The GridView below shows only the physical keys inthe cabinet, and if I click on the "Select" link the DetailsView change to display the selected item.

    How do I make sure the DetailsView is showing a record from the filtered list when the page loads?

Page 1 of 1 (1 items)