function btnyesclick() { alert("hello"); var Strno = "AuthorizeSubmit"; $.ajax({ url: '/Intimation/Intimation/AuthorizeSubmit', type: 'POST', contentType: 'application/json; charset=utf-8', data: JSON.stringify({ value: Strno, Unchecked: Strno, check: Strno }), success: function (result) { $('#grid').data('kendoGrid').dataSource.data(result); }, dataType: 'json' }); }
public JsonResult AuthorizeSubmit([DataSourceRequest] DataSourceRequest dsRequest, string Id, string Unchecked, string check) { ObservableCollection<string> obcSubmitCollection = new ObservableCollection<string>(); foreach (var item in list) { if (item.blAuthorizeChk == true) { obcSubmitCollection.Add(item.Slno.ToString()); } else if (item.blRejectChk == true) { obcSubmitCollection.Add(item.Slno.ToString()); } else if (item.blCancelChk == true) { obcSubmitCollection.Add(item.Slno.ToString()); } } return Json(list); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)