Friday, 13 June 2014

JavaScript Alert in Code Behind


this.Page.ClientScript.RegisterStartupScript(Page.GetType(), "alert", "alert('You are not authorized user to view this page.');window.location='/SitePages/Welcome.aspx';", true);

No comments:

Post a Comment