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

Delete & Update are not working in Razor Script

1 Answer 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 04 Dec 2013, 08:47 PM
I have a grid using this command...

.Destroy(update => update.Action("EditingInline_Destroy", "Grid"))

and it hits my controller as expected...

  public ActionResult EditingInline_Destroy([DataSourceRequest] DataSourceRequest request, MemoModel memo)

But the memo is coming in Null.

How is the Destroy or Update supposed to pass in the object or ID of the row being deleted?
     

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 05 Dec 2013, 12:51 PM
Hi Bob,

From the provided information it's not clear for us what is the exact reason for current behavior - could you please provide runable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

Also I would suggest to make sure that all of the required scripts are included to the page as well as your current Grid setup is correct:

Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or