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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue related to GridEditMode.Dialog

Thread ID:





101015 Sep 20,2011 11:28 AM UTC Sep 22,2011 04:31 PM UTC ASP.NET MVC (Classic) 1
Tags: Tools
Asked On September 20, 2011 11:28 AM UTC


i have use sync fusion grid in razor view,i want to edit grid content by using GridEditMode.Dialog, but when i have set this property it show this error "No parameterless constructor defined for this object."
i have also attach my application please go through it.and give me some information how i will update grid content by using GridEditMode.Dialog or modified my sample code.

please refer ("Grid Demo") link in application for grid Demo


Eswari S [Syncfusion]
Replied On September 22, 2011 04:31 PM UTC

Hi ShivKumar ,

The suspect that the cause of the issue is , you would have missed to define the parameter less constructor for CustomerClass. Please refer to the following code snippets:

public class CustomerClass
public int Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }

public CustomerClass() { } // needs to be define

public CustomerClass(int id,string name, string address)
Id = id;
Name = name;
Address = address;

Please try this and let us know if you would require any further assistance.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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