Thursday, March 24, 2011

C# how to call Javascript

If You are using asp.net ajax(script manger) you can write the following code


ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Facility", "alert('Select any Facility');", true);

No comments: