Hello friends,
I am trying to use the Ajax control i.e. Scriptmanager, to get the data from the server asynchronously (without postback).
For this as per the guidance given by MSDN, I have code in my system. I have used following psuedo code...
<ScriptManager ID="...">
<ScriptService path="ABC.asmx"/>
</ScriptManager>
<script>
function check()
{
ABC.ABC.Hello(string.value, onresult);
}
function onresult(result)
{
alert (result.value);
}
</script>
I am able to test my web service through the browser and it is giving expected result. But it is giving error that it cannot found the ABC.ABC object.
Is anything I am missing here? In other words, I am not sure how to make the class.function available in the client side javascript. Kindly let me know.
Rgds,
Deven