need technical support on sending data from kendogrid popup window to controller

2 posts, 0 answers
  1. vijay
    vijay avatar
    2 posts
    Member since:
    Nov 2013

    Posted 07 Oct 2014 Link to this post


    I am using kendoGrid() to display data, which receives from database in MVC model.

    In this kendoGrid, we included "Edit" feature given by kendoGrid.  But when trying to update the data,  the cursor is going into the controller, but the parameter(model) for that action contains null data. i.e. the data is not getting posted from view to controller.

    for your reference, I have attached the code files.

    Thanks in advance.

  2. Alexander Popov
    Alexander Popov avatar
    1444 posts

    Posted 09 Oct 2014 Link to this post

    Hi Swarnalatha,

    This happens because the Grid's DataSource is configured to work in batch mode. In that case an array of objects is sent during the updates, however the controller is not expecting that and fails to bind the values properly. I would suggest either disabling the batch option or setting up controller properly (see example).

    Alexander Popov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top