+1 vote
29 views
I have javascript in my asp.net design page,how can i call the same JS from c# of asp.net ?
asked Apr 15, 2016 in Computer Science - IT by kevin | 29 views

1 Answer

+1 vote

Say you have javascript function as CallMe()

You can invoke same from c# code as below :

Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "CallMe()", true);
answered Apr 15, 2016 by slow_learner