I have a user control(which contain one datagrid and a dropdown list) I have this in an infragistics web tab control (unimportant to this question..)

Anyway When I klick on a button in the datagrid I want to switch tabs and load the data which I put in the session on the itemcommand event on the grid....


BUT

The problem is that the page_load event (where I check for session data, if there is any I will use it to fill the UI) fires BEFORE the

VB Code:
  1. Private Sub dgResults_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgResults.ItemCommand

This is the event where I check which item I pushed and store the information in session... so that means I have to click each item button twice before I can see the info in the other tab


Anyone has any suggestion how to solve this?
kind regairds
Henrik