Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

How to fail the mvc controller on purpose and do nothing

$
0
0

I am not sure if there is a solution to my original question but I was able to solve my problem by updating with following AJAX

$.ajax({ url: webManager.resolveUrl("~/maint/GetCustomerComments"), method: "POST", data: { invoices: invoicesList }, success: function (result) {var grid = $("#CustomerCommentsGrid").data("kendoGrid");var dataSource = new kendo.data.DataSource({ data: result.Data}); grid.setDataSource(dataSource); grid.dataSource.read();}, error: function () { alert('an error occurred');}});


Viewing all articles
Browse latest Browse all 84751

Trending Articles