hai

    function Hello_Callback is allright and u r ajaxmethod string hello
function is also alright.

But i this u had to call the callback function to another function
called Hello in javascript like this

<script type="text/javascript" defer="defer">
        function Hello_CallBack(response)
        {
            alert(response.value);
        }
        function Hello()
        {
           _default.Hello(Hello_CallBack);
         }
<input type="button" onclick="Hello();" value="Test ajax call"/>

</script> 
Try this too


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to