This is a migrated thread and some comments may be shown as answers.

BatchEditing issues with with 2013.1.226 beta version

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Razvan
Top achievements
Rank 1
Razvan asked on 04 Mar 2013, 02:17 PM
Hello all,

I have updated our application to use Kendo version 2013.1.226 beta that you released. It seems that the new update has broken the Grid BatchEditing feature. In particular, when I click on "Save Changes" button I get the following error:

GET http://localhost:5818/Settings/Editing_Update?models%5B0%5D%5BId%5D=f452ada…e%5D=Sir+de+test+trtrtrrtrtrtrt3434343434&models%5B0%5D%5BDecimalValue%5D= 404 (Not Found)
Both grid and server side setup are made:

Cshtml page

.DataSource(dataSource => dataSource
                .Ajax()
                .Batch(true)
                .ServerOperation(false)
                .Model(model => { model.Id(s => s.Id); model.Field(s => s.Name).Editable(false); })
                .Read("Editing_Read", "Settings", new { type = MF.Model.SettingType.Decimal })
                .Update("Editing_Update", "Settings")
                .Create("Editing_Create", "Settings")
            )

Controller code:

[AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Editing_Update([DataSourceRequest] DataSourceRequest request, [Bind(Prefix ="models")]IEnumerable<Entity> settings)
        {
           //code
        }

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Editing_Create([DataSourceRequest] DataSourceRequest request, [Bind(Prefix = "models")]IEnumerable<Entity> products)
        {
           //code
        }

The above code used to work before making the upgrade to Kendo version 2013.1.226 beta.

Can you please check this behavior.


Thank you in advance!

Best regards,
Razvan

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 05 Mar 2013, 02:06 PM
Hi Razvan,

You should make sure you have correctly included a reference to kendo.aspnetmvc.min.js file as described here.

If you continue to experience difficulties please provide a small sample in which this error can be observed.

Greetings,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Razvan
Top achievements
Rank 1
answered on 17 Mar 2013, 08:04 AM
Hello Rosen,

I will check what you pointed out.

Best regards,
Razvan
Tags
Grid
Asked by
Razvan
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Razvan
Top achievements
Rank 1
Share this question
or