Apr 29, 2010, 6:28 PM
Coolite.AjaxMethod.request webservice only only works on localhost?
Hi Everyone,
I'm new to the coolite world. I'm using the Coolite.ajaxmethod.request to make a request of my web service and return some HTML content. It all works perfectly when developing locally...but when I copy it to the server, the site loads, but the web service calls don't work. I put break points in the web service (in the same directory as my web page), and code never reaches the web service methods.
Should be something easy...not sure what the issue is.
thanks for any help!
Dan
I'm new to the coolite world. I'm using the Coolite.ajaxmethod.request to make a request of my web service and return some HTML content. It all works perfectly when developing locally...but when I copy it to the server, the site loads, but the web service calls don't work. I put break points in the web service (in the same directory as my web page), and code never reaches the web service methods.
Should be something easy...not sure what the issue is.
thanks for any help!
Dan
function UpdateAboutSection(activeMode)</p>
{</p>
Coolite.AjaxMethod.request({</p>
url : "WebService.asmx/GetAboutSection",</p>
cleanRequest : true,</p>
params : {</p>
currentMode : activeMode</p>
},</p>
// success : function (result) {</p>
// Ext.Msg.alert("Message", Ext.DomQuery.selectValue("string", result, ""));</p>
success : onUpdateAboutSectionSuccess</p>
,</p>
eventMask: {</p>
showMask: true,</p>
target:"customtarget",</p>
customTarget:"ctl00_MainContentPlaceHolder_CommunityPanel",</p>
// minDelay: 500,</p>
msg: "Preparing About Info..."</p>
}</p>
});</p>
}</p>