Hi,
I have created this example method and it is working. What do you have
in you JavaScript code?
Regards,
Michael
On 4/24/06, tpaCoder <[EMAIL PROTECTED]> wrote:
>
> I have narrowed the problem down to the following:
>
> [AjaxPro.AjaxMethod]
> public string GetServerTime()
> {
> return "Test";
> }
>
> returns a null when called. When I change the method to:
>
> [AjaxPro.AjaxMethod]
> public string GetServerTime(string val)
> {
> return "Test";
> }
>
> The method completes successfully. Any ideas on why this happens? Am I
> doing something wrong?
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---