Code as follow Login.aspx.cs file

protected void btnLogin_Click(object sender, EventArgs e)
{
 Response.Write("<script>alert('Login Sucessfully');</script>"); //how to write bootstrap above code in it.
 Response.Redirect("~/Admin/frmAdminHome.aspx");
}

I want to write bootstrap autoclosable alert msg in Response.Write Bootstrap code as

<div id="alertdiv" class="alert ' + alerttype + '"><a class="close" data-dismiss="alert">×</a><span>' + message + '</span></div>

Related posts

Recent Viewed