MrCapuchino 0 Junior Poster in Training

Hello,

I'm developing a Web Form based Web Page, still I'm using an Http Handler to do some ajax interaction in my page.

The problem is that I have to keep my httpHandler class in the root directory in order to be able to use it in my javascript code.
I want to organize my site, so I want to put the class inside a Handler directory, how can I tell my javascript to access the handler inside that directory, I tried putting the path so instead of using

url: "handler.ashx"

I put "handlers/handler.ashx"

But that did not work, I'm not very familiarized with HttpHandlers but I guess it does not have to be very difficult to access a handler inside a directory or maybe I'm trying to do a wrong approach.

Can you help me?

Note: The handlers folder is inside the the App_Code folder.

Thanks in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.