I build a session variable and call the popup to display the report with the contents of the session variable.
The first call is correct and the report clearly shows.
But if I don't close the popup and return to call the report shows me the above data, but the session variable has the new data.
Also, when you call back is not within the load event of the popup. Just get in the Load event if the popup is not open.
Can you help me solve this problem? Thanks.
I show a report using this call:
Code: Select all
Session("DataSet") = DataSet
Dim popupScript1 As String = "open('popup.aspx?report=XXX&date=" & txtdate.Text & "','NewWindow','top=0,left=0,width=800,height=600,status=yes,resizable=yes,scrollbars=yes');"
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "PopupScript1", popupScript1, False)