Hi,
in VB.NET the syntax is like this here:
<AjaxPro.AjaxMethod()> Public Function doSomething() As String
Return "Hello World"
End Sub
Please have a look at the examples available at
http://www.ajaxpro.info/ (download).
Regards,
Michael
On 5/24/06, ActiveX <[EMAIL PROTECTED]> wrote:
>
> When I add the [AjaxPro.AjaxMethod] just above my method I get the
> following error:
> Bracketed identifier is missing closing ']'
> VS 2005 is marking "[Ajax" as the source of the error. It seems to want
> something like "[Ajax]", but then it give a "Declaration expected"
> error.
>
> I have added the HttpHandler to the web.config and add a reference to
> the AjaxPro.2.dll in my project. I am missing something else? Here is
> what I am typing:
>
> [AjaxPro.AjaxMethod]
> Public Sub doSomething()
> 'Do Something Here
> End Sub
>
>
>
> 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
-~----------~----~----~----~------~----~------~--~---