Posted on: 5/24/2013 6:31:27 AM | Views : 232

hi every one..
im have a contacts form and while submitting the form mail should send.. i have done this and everything working fine.
now i want to show an alert box after sending mail ....
Here is my codes
c# codes
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net;
public partial class Default2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
} protected void ImageButtonSubmit_Click(object sender, ImageClickEventArgs e) { if (txtName.Text != "" & txtEmail.Text != "" & txtMobile.Text != "" & txtMessage.Text != "") { try { SendMail(); clear();
} catch (Exception) { } } else< ...

Go to the complete details ...