I have a web service defined within my main web application. This web service works fine when called directly within the browser or from another web page within my site.
I need to be able to call this web service from a custom server control. But, I'm getting an 'undefined' error within the javascript code that calls the web service.
My web service is within the namespace "FiveFunnels.WebServices"
The web service class is called "MyWebService"
The method within the web service is called "LoadSetting"
Within my custom server control, my javascript is attempting to call "FiveFunnels.WebServices.MyWebService.LoadSetting".
This results in the javascript error, "'FiveFunnels' is undefined".
I'm adding a ScriptManager control with a ServiceReference pointing to the ASMX file during the OnInit event.
The js file is an embedded ...
Go to the complete details ...