Call class method from javascript
-
Hi. I have an xsl (xml stylesheet) doc with javascript in it. I need to call a c# method (which is located in a class in my project) from within the javascript. Is this possible? If so, what's a good way to do so? Any help is greatly appreciated. Thanks. M
-
Hi. I have an xsl (xml stylesheet) doc with javascript in it. I need to call a c# method (which is located in a class in my project) from within the javascript. Is this possible? If so, what's a good way to do so? Any help is greatly appreciated. Thanks. M
Have you had a look at the ASP.net AJAX library?
-
Have you had a look at the ASP.net AJAX library?
The cleanest way I know of in terms of data transfer is the XMLHTTPRequest object, which I can't get enough of. It's fairly easy to use once you have a good set of javascript functions. There is a minimal one of these available at Quirksmode[^], which is the best JavaScript tutorial site I've come across.
-
The cleanest way I know of in terms of data transfer is the XMLHTTPRequest object, which I can't get enough of. It's fairly easy to use once you have a good set of javascript functions. There is a minimal one of these available at Quirksmode[^], which is the best JavaScript tutorial site I've come across.
Mmm. This is the same as the underlying concepts in the AJAX framework. It just provides a simple way of making callbacks to your codebehind rather than just to web services. All much of a muchness really.
-
Mmm. This is the same as the underlying concepts in the AJAX framework. It just provides a simple way of making callbacks to your codebehind rather than just to web services. All much of a muchness really.
Yes, the AJAX framework is built on this class.
-
The cleanest way I know of in terms of data transfer is the XMLHTTPRequest object, which I can't get enough of. It's fairly easy to use once you have a good set of javascript functions. There is a minimal one of these available at Quirksmode[^], which is the best JavaScript tutorial site I've come across.
Amazing how many times wheels get recreated.
only two letters away from being an asset