public static void jsAlertAndRedirect(System.Web.UI.Page instance, string Message, string url)
{
instance.Response.Write(@"<script language='javascript'>alert('" + Message + "');document.location.href='" + url + "'; </script>");
}
{
instance.Response.Write(@"<script language='javascript'>alert('" + Message + "');document.location.href='" + url + "'; </script>");
}
No comments:
Post a Comment