How to call JS function With the help of ScriptManager.RegisterClientScriptBlock method in code behind?

 Posted by vishalneeraj-24503 on 6/6/2014 | Category: ASP.NET Interview questions | Views: 301 | Points: 40
Answer:

Refer below code:-

For Example:-
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Alert", "alert('Hello');", true);

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "any name", "any js function", true);


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response