Sorry, my mistake...
namespace MyNamespace
(
[AjaxNamespace("MyTest")]
public class HelloWorldClass
{
[AjaxMethod]
[AjaxNamespace("MyMethod")]
public string SayHello(string a, string b)
{
// ...
}
}
}
Regards,
Michael
On 5/18/06, Breck <[EMAIL PROTECTED]> wrote:
>
> I can mark up the class as you show, but not the method. It won't
> compile:
>
> AjaxPro.AjaxMethodAttribute.AjaxMethodAttribute(string)' is
> obsolete: 'The recommended alternative is
> AjaxPro.AjaxNamespaceAttribute.'
>
> But I'm going to try it with just the namespace attribute set and see
> if that works.
>
> Thanks!
>
>
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---