Show Alert Box From Serverside in Asp.net

Show Alert Box From Serverside in Asp.net

Show Alert Box From Serverside in Asp.net

//Fuction for Alert Box

protected void jsCall(string alertmessage)
{

string script = @”alert( “”” + alertmessage+ @””” );”;
ScriptManager.RegisterStartupScript(this, this.GetType(), “jsCall”, script, true);
}
//Call “jsCall” Function with message where u want.

jsCall(“Alert successfully.”);

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply