Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AJAX Success event not firing

$
0
0

I have a webforms project and an mvc controller project.  I use the mvc controller project as a service to provide data from the db in JSON format.  The mvc controller is working fine and sends out the JSON result (verified in fiddler) but for some reason, why is my success event not firing?  The MVC project is deployed as an application in IIS and I have use the URL as my source for the ajax.

$('#ctl00_ctl00_mainbody_topnavigateright_UserStatus_lblUserTagCommentsCount').hover(function () {
$.ajax({
type: "GET",
contentType: 'application/json; charset=utf-8',
url: '<%= Global.WebServiceUrl %>' + '/services/getUserTagsByUserId?userId=113',
dataType: "json",
success: function (data) {
alert('test');
//alert(exists);
} //End Success Function
}); //End Ajax Call


});


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>