Solved

AjaxPro beginner

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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