I want a simple MessageBox for ASP.Net, but everything I tried didn\'t work and I don\'t know why. The last thing I tried was this but it didn\'t work either.
Any id
Here is your answer.
http://www.beansoftware.com/ASP.NET-Tutorials/Message-Box.aspx
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string s = "here in button event";
string script = "";
if (!Page.ClientScript.IsStartupScriptRegistered("clientScript"))
{
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "clientScript", script);
}
}
}