posted by 네코냥이 2013. 12. 18. 17:46


 

This blog defines message box with OK in C# using ASP.Net.

protected void btn_tomail_Click(object sender, EventArgs e)

{
    
ClientScript.RegisterStartupScript(Page.GetType(), "alert",

    "alert('Password Sent Your EmailID !!');

    window.location='Login1.aspx';", true);

}