Message box without buttons
How to show message box without any button in c#.Just for showing info:
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pankil BhattPosted Apr 16, 2015, 5:12 AM
protected void Page_Load(object sender, EventArgs e)
{
string message = "Hello! Mudassar.";
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("");
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", sb.ToString());
}
Khargesh RajputPosted Apr 16, 2015, 5:12 AM
or you can add a new form to show Info