use 2 updatePanels. Put the gridview in the first updatepanel and set the triggers to be never. In the second update panel put the details gridview and set the triggers to condistional and add the trigger for the click for the select from the first gridview.