Tuesday, August 24, 2010

Is there a way to call Javascript functions from an ASP.NET control and vis a versa?

From an ASP.NET control? Yes, e.g. (vb):


Button1.attributes.add(';onclick';, ';myFunction()';)





You can call .NET functions from Javascript using AJAX.

No comments:

Post a Comment