views:

61

answers:

2

I have a C# class method that return a xml document not file. How to read C# method output from javascript??? I don't wont to use script manager.

Any ideas?

+1  A: 

You need to be more specific. Are you creating a control that has client functionality or you just need to expose the XML on the client? In the first case you can pass it through a script descriptor, in the second, you can use a web service and call it from javascript. Please provide more details.

Slavo
+1  A: 

A similar Question was asked in this thread

http://stackoverflow.com/questions/2579382/call-a-vb-net-subrouting-from-a-javascript-function

In ajax you can use jQuery, very simple to use if you don't want to use script manager.

Kronass