?
Solved

AjaxPro beginner

Posted on 2006-11-20
1
Medium Priority
?
410 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

764 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