mvc2 migration issue

Posted by Sefer KILIÇ on Stack Overflow See other posts from Stack Overflow or by Sefer KILIÇ
Published on 2010-03-11T14:17:36Z Indexed on 2010/03/11 19:54 UTC
Read the original article Hit count: 479

Filed under:

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);

        }

© Stack Overflow or respective owner

Related posts about asp.net-mvc