I i was wondering if there way a way tyo have these two scripts work together:
AND
So the response.redirect does not happen until JS has fired the alert.
Thanks
Code:
string JscriptFinal = "<script type='text/javascript'>window.onload=function(){alert('asdf');}</script>";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "key", JscriptFinal);
AND
Code:
Response.Redirect("aaa.aspx?Count=" + includeitems)
So the response.redirect does not happen until JS has fired the alert.
Thanks