this.Page.ClientScript.RegisterStartupScript(Page.GetType(), "alert", "alert('You are not authorized user to view this page.');window.location='/SitePages/Welcome.aspx';", true);
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);

Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment