If you find that Jqgrid has a secondary error in the run, the following may be the cause
$ (' #@ (viewbag.tabcid + "_grid") '). Jqgrid (' Navgrid ', ' #@ ' (viewbag.tabcid + "_page") ', {//options view:fals E, del: (' @ViewBag. type '! = null && ' @ViewBag. Type ' = = ' 1 ') = = True, Add:false, EDI T:false, Search:false, refresh:true}, {//edit options}, {//A DD Options}, {//del options reloadaftersubmit:true, closeonescape:true//, u RL: ' @Url. Action ("Delete") ', beforeshowform:function (form) {}, Aftercomplete:function () {//jquery ("#shipFactorList_d"). Jqgrid (' Cleargriddata ', true); JQuery ("#shipFactorList_d2"). Jqgrid (' Cleargriddata ', true); }, Aftersubmit:function (response, Formid) {var data = Json.parse (Response.responsetext); if (data.status) {return [True, "OK", data.id]; } else {return [false, data.errmsg]; }}}, {},//search options {}//view options);
Above you can see that the buttons defined in the options should correspond to each curly brace
Jqgrid No URL Reset