mvc2 migration issue
- by Sefer KILIÇ
i migrate my mvc1 project to mvc2.
my jquery json result function does not work anymore. have any idea ?
aspx
$.getJSON('Customer/GetWarningList/0', function(jsonResult) {
$.each(jsonResult, function(i, val) {
$('#LastUpdates').prepend(jsonResult[i].Url);
});
});
controller
public JsonResult GetWarningList(string id)
{
List<WarningList> OldBck = new List<WarningList>();
return this.Json(OldBck);
}