Solved

AjaxPro beginner

Posted on 2006-11-20
1
404 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…

697 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