What is an alternative way of calling JS function through Button control dynamically?

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

We have Button i.e. Command button,Link button,Image button OnClientClick property just call it and assign any JS function to it.
For Example:-
Button1.OnClientClick = "return JS_Function();";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response