Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,

My problems is when pop-up windows appear , my parent data will be empty.

Im using javascript :
MIDL
string support = Page.ResolveUrl("http://localhost/NanoGroceries.aspx" + "</script>";
Page.RegisterStartupScript(support, popupScript);


any idea how its happen? ive tried to refresh the page using response.redirect(Request.RawURL); it doesnt work! X|
Posted

ClientScript.RegisterStartupScript(typeof(System.String), "", "<SCRIPT type='text/javascript'> window.open('../Common/ReportViewer.aspx?ExpenseID=" + iExpenseID +  "'); </SCRIPT>  ");


Try using as above. This is how i generally pop up a window and my parent page has data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900