I need to show alert message when any error occured in application from Application_Error event using javascript. I performing the following code:
Page p = new Page();
p.ClientScript.RegisterClientScriptBlock(this.GetType(), "Error", "javascript:alert('There is an error!')", true);
But it wasn't work for me. pls provide a solution on this.