Author: ShiftyDev | Posted on: 1/29/2010 4:49:47 PM | Views : 400

I'm developing a custom AJAX control that is expanding on the functionality of something I found on the internet.  More or less, I modified the control in its own project and it has a .js and .vb file.  The control builds fine, is referenced by my web app and is added to my toolbox.  When I add the control to the page, I ensure the 'ServiceMethod' property is set to 'GetItems' via my HTML view and, in the code page, I create a method called 'GetItems'.  Get Items has two attributes: <System.Web.Script.Services.ScriptMethod()> and <System.Web.Services.WebMethod()>

When I run my page, the Ajax control is displaying but the code I have for failedCallback is being hit.  (I can tell because my failedCallback code renders text to the .innerHTML saying it didn't work.)

When the failedCallback is hit I list some things... like the value of 'ServiceMethod', whi ...

Go to the complete details ...