When use getJSON and call Action result correct but response internal 500
This is because json not allow get type (Only post can do.)
fix this is simple by
return this.Json( list, JsonRequestBehavior.AllowGet );
The key is AllowGet for can call function simple.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น