We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid does not send modified object to CrudURL

Thread ID:





124108 May 17,2016 05:45 PM UTC Jul 31,2017 01:27 PM UTC ASP.NET MVC 3
Tags: Grid
Asked On May 17, 2016 05:45 PM UTC

I create simple grid with CRUD operation and update database via CrudURL. When I click add item on toolbar and input data then Save, input value does not send through CrudController. 

    .Datasource(ds => ds.URL(@Url.Action("DataSource", "Inventory")).CrudURL(@Url.Action("CrudUpdate", "Inventory")).Adaptor(AdaptorType.UrlAdaptor))
    .EditSettings(edit =>
    .ToolbarSettings(toolbar =>
        toolbar.ShowToolbar().ToolbarItems(items =>

        public ActionResult CrudUpdate(Computer computer, string action)          <----- property of computer has null value and ID = 0 but I have selected another ID to edit.
            switch (action)
                case "insert":
                case "update":
                case "delete":

Do you have any suggestion about this case or Sample CRUD project that work with database?

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On May 18, 2016 06:09 AM UTC

Hi Soycake, 
We are able reproduce the problem with your code example.  

The first parameter of your CrudUpdate() must be value and so you can get the values POST from the client-side. But in your code example, you have used computer. Refer to the following code example and screenshot and make necessary changes in your project. 

           .Datasource(ds => ds.URL("/Home/Data").CrudURL("/Home/CrudUpdate").Adaptor(AdaptorType.UrlAdaptor)) 
            . . . 
              . . .  
        public ActionResult CrudUpdate(EditableOrder value, string action) { 
            return Json(value, JsonRequestBehavior.AllowGet); 


We have prepared a sample that can be downloaded from the following location. 

Refer to the following Help Document for CRUD action. 

Seeni Sakthi Kumar S. 

Anass Rhmoun
Replied On July 28, 2017 06:14 AM UTC

Dear Seeni,

Kindly if could be provide complete example CRUD, as I'm not able to see how Remove operation is working when we're using CrudURL.


Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On July 31, 2017 01:27 PM UTC

Hi Anass,  
We have modified the sample that can be downloaded from the following location.  
If you are still facing any problem, please share the following information. 
  1. Code example of the Grid and server.
  2. Version of the Essential Studio
Seeni Sakthi Kumar S. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon