Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140962 | Nov 15,2018 10:48 PM UTC | Nov 19,2018 08:23 AM UTC | ASP.NET MVC | 3 |
![]() |
Tags: Grid |
@(Html.EJ().Grid<OrdersView>("Grid")
.Datasource(ds => ds.URL("/Grid/UrlDataSource").UpdateURL("/Grid/Update").InsertURL("/Grid/Insert").RemoveURL("/Grid/Delete")
.Adaptor(AdaptorType.UrlAdaptor))
)
public ActionResult Update(Orders value)
{
Orders val = order.Where(or => or.OrderID =value.OrderID).FirstOrDefault();
val.OrderID = value.OrderID;
val.EmployeeID = value.EmployeeID;
val.CustomerID = value.CustomerID;
val.ShipCity = value.ShipCity;
return Json(value);
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.