B
bnob
In a Button clik event I have this code at the end of the event
Response.Redirect("Page.aspx")
But in this event I must show a message before redirect to the
Page.aspx. I use to show Message this
System.Web.HttpContext.Current.Response.Write("<SCRIPT
LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("alert('A message')" &
vbCrLf)
System.Web.HttpContext.Current.Response.Write("</SCRIPT>")
but I don't show the message alert?? If a delete
Response.Redirect("Page.aspx") line It works!!
Any idea to show message and then redirect to a page.aspx ??
Response.Redirect("Page.aspx")
But in this event I must show a message before redirect to the
Page.aspx. I use to show Message this
System.Web.HttpContext.Current.Response.Write("<SCRIPT
LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("alert('A message')" &
vbCrLf)
System.Web.HttpContext.Current.Response.Write("</SCRIPT>")
but I don't show the message alert?? If a delete
Response.Redirect("Page.aspx") line It works!!
Any idea to show message and then redirect to a page.aspx ??