Hello,
I guess that Suman has solved it correctly.
And I have another way like this:
1. Register Ajax function in server site like document then run your
page.
2. View HTML source of the page, you will see following lines.
<script type="text/javascript" src="/ajaxpro/prototype.ashx"></script>
<script type="text/javascript" src="/ajaxpro/core.ashx"></script>
<script type="text/javascript" src="/ajaxpro/converter.ashx"></script>
<script type="text/javascript"
src="/ajaxpro/[YourNamespace],[RootNamespace].ashx"></script>
3. Write your Javascript:
<script language='javascript'>
function YourFunc()
{
var responce = [YourNamespace].YourFunc();
alert(responce.value);
}
Note: replace [YourNamespace] with what you see in real.
</script>
Hope this help you make sense what goes under.
=====================
Hoang Phi
MCSD
Global Cybersoft VN
http://www.globalcybersoft.com
=====================
--~--~---------~--~----~------------~-------~--~----~
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/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---