Solved

AjaxPro beginner

Posted on 2006-11-20
1
401 Views
Last Modified: 2008-02-01
HI,
I went to http://www.ajaxpro.info/ andf follow their instructions to use ajax.

I downloaded the the ajaxpro.dll & i added as a reference to my web project.
Then I added this part to my webconfig

<location path="ajaxpro">
            <system.web>
                  <httpHandlers>
                        <add verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro"/>
                  </httpHandlers>
                  
            </system.web>
</location>

Now when I tried to add   [AjaxPro.AjaxMethod]  before any method I get a "identifier expected" error from the compiler.
Anyone has an idea why I'm getting this error?
I'm using visual studio 2003 & coding in VB.

Thanks,
Chicho
0
Comment
Question by:chicho12
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 17981276
VB.NET attributes look like this:

< AjaxPro.AjaxMethod> _
Public Sub TestThis()
End Sub

That was a C# attribute.

Bob
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now