Hi, no, the thing is that AjaxPro will call only the method like a static method, there will be no viewstate support. Change your method head to static and you will be happy while compiling to see where is the problem.
And, on the client-side JavaScript only methods are available (that are marked with the AjaxMethod attribute), no properties! Regards, Michael On 9/20/06, madinsect <[EMAIL PROTECTED]> wrote: > > You mean it can't work if the class is a single ".cs" file? > I registered that class in a page. > Only Session values can be used like that? > > > > > -- 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/ Skype: callto:schwarz-interactive MSN IM: [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/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ -~----------~----~----~----~------~----~------~--~---
