| Which looks to do similar things to DWR. From the looks of it, you put an attribute before the function and it will expose that function to the javascript for you to call. That way you can have all of the real code in the C# function, and the javascript will call it to get the data
The url for that particular one is: here
If you can't use that for whatever reason, there's also the JS library AjaxRequest that is very simple to use. You essentially just tell it a URL to request - including parameters - and it goes and gets it for you. It's then up to you to do what you want with the returned data from that URL. This lets you have a standard ASP(.Net) page called from the Javascript, and do all the processing in there... |