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.
Syncfusion Feedback

parameter of Delete action (C# code)

Thread ID:

Created:

Updated:

Platform:

Replies:

129484 Mar 21,2017 05:15 PM UTC Mar 22,2017 12:33 PM UTC ASP.NET MVC 1
loading
Tags: Grid
lawrence greenberg
Asked On March 21, 2017 05:15 PM UTC

on p. 1283 of syncfusion-aspnet-mvc.pdf,
the example for deleting a row from a db shows the parameter to be an integer.  
Following this example, I got an Internal Server Error and the action was never called.
When I used the model and then the ID of the model, it worked ok.
Is there a problem with my HTML that resulted in the Internal Server Error?
I tried debugging it with Chrome F12, but could not see the error.
Is there some way of simplifying the debug process?
In testing the Delete process, I passed the ID of a row that was not deleted in the stored procedure.
I got an error message, but the ej grid would not let me delete the row again because the status of the row showed "not present" even though it appeared in the grid.  How am I supposed to acknowledge to the grid that the delete was successful so that it is removed on the screen?  Is it necessary to pass all the data again?
Thank you for your help.


Attachment: sync13Mar17leg_f491d62a.zip

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On March 22, 2017 12:33 PM UTC

Hi Lawrence,  
 
Thanks for contacting Syncfusion Support.  
 
The sample project given to us is throwing an exception that the file is not found as shown in the following screenshot. 
 
 
 
Please provide the missing file or update the modified sample to analyze the reported problem. DatatSouce given to the application is also not available. If possible, please share the screenshot of the exception and error thrown. Provide a sample data of the dataSource bound to the Grid or else show the value of “SecGroupID” of some set of rows. 
 
Regards,  
Seeni Sakthi Kumar S. 


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.

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

;