ScriptManager.RegisterStartupScript(this.MyUpdatePanel,this.GetType(),Guid.NewGuid().ToString(),"alert('hello')",true); ScriptManager.RegisterStartupScript(this, typeof(Page), UniqueID, "alert('Data successfully insert into database');", true); ScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), "alert('hello');", true);
Response.Write("<script>alert('Hello!! I am Nirav Prabtani')</script>");
btnMyButton.Attributes.Add("onclick", "javascript:altert('Hello')");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)