ASP.NET Ajax - simple clientside communication example?

You can do that by exposing the data via a web service.

You can do that by exposing the data via a web service ScriptService public class SimpleWebService : System.Web.Services. WebService{ WebMethod public string EchoInput(String input) { // Method code goes here. }} And can then add it into your asp.Net page like so To call the javascript // This function calls the Web Service method.

Function EchoUserInput() { var echoElem = document. GetElementById("EnteredValue"); Samples.AspNet. SimpleWebService.

EchoInput(echoElem. Value, SucceededCallback); } // This is the callback function that // processes the Web Service return value. Function SucceededCallback(result) { var RsltElem = document.

GetElementById("Results"); RsltElem. InnerHTML = result; } There it is, easy as. Check more details at ASP.Net.

– George Mauer Oct 28 '09 at 21:35 I added the js call. Sorry about that. – Kevin Oct 28 '09 at 21:42 Thanks a lot - awesome!

– George Mauer Oct 28 '09 at 21:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions