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.
Unfortunately, activation email could not send to your email. Please try again.

grid crud operation

Thread ID:

Created:

Updated:

Platform:

Replies:

128340 Jan 16,2017 04:59 AM Jan 18,2017 08:32 AM ASP.NET Core 3
loading
Tags: Grid
franco perduca
Asked On January 16, 2017 04:59 AM

Hi

I have follow your sample for manage crud operation on controller

https://www.syncfusion.com/forums/126220/how-to-pass-complete-model-from-dialogeditortemplate-to-controller-for-crud-operation

but on the event in the controller the value is always null

public ActionResult CellEditUpdate([FromBody]CRUDModel<DLCore.Models.Maintenance> value)

1 the class DLCore.Models.Maintenance in public int he project
2 ther is no error 
3 IsPrimaryKey” is defined 

What other controls I have to do?

thank you for your support
 Franco

Mohammed Farook J [Syncfusion]
Replied On January 17, 2017 12:25 AM

Hi Freno, 
 
Thanks for contacting Syncfusion Supports 
 
 
We have validated your reported issue and we unable to reproduced .  Please find the General root cause of this issue. 
 
 
1.       Did you model class property has correct? 
2.       Please share the sample if it possible or modified the attached sample with issue?. 
3.       Please share the grid  full code snippet. 
4.       Is it any grid field is not available in dataSource. 
 
 
Regards, 
J.Mohammed Farook 


franco perduca
Replied On January 17, 2017 01:59 AM

Hi
Teh problem appear only with the


.EditSettings(edit => { edit.AllowAdding().AllowDeleting().AllowEditing().EditMode(EditMode.DialogTemplate).DialogEditorTemplateID("#template").ShowDeleteConfirmDialog(); })

with this code


 .EditSettings(edit => { edit.AllowAdding().AllowDeleting().AllowEditing(); })

it's works

Thank you
Regards
Franco



Mohammed Farook J [Syncfusion]
Replied On January 18, 2017 08:32 AM

Hi Freno, 

We have validated your reported issue and we unable to reproduced at our end. Please find the sample for your reference. 


 
 
 
Screenshot: 
 
 


This error may occur the following root cause : 

1.       If you send incorrect value type to server , this error may occur. 
For eg: if you have date object but did you send string value means this issue will thrown. 
2.       Did you send the grid filed value but it not available dataSource 
 

Regards, 
J.Mohammed Farook 


CONFIRMATION

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.

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.

;