Edit not working

Hi,

I am attempting to replicate the example Editing/Editing Modes, and i am having a bit of trouble, i have copied the ASCX and the CS code into a page on my own website, when i run this all works well, however, when i select a row and press the edit button (or double click a row) nothing happens, the grid does not enter edit mode at all.

Please, could someone help me with this as i am at my wits end, i have not been able to get editing working at all and this is a very useful feature that i want to make use of.

Also, with LINQ available in .NET 3.5, is it possible to bind a grid to the result of a LINQ query and then perform all the same task as are described in your samples.

I have 6.1.0.34 installed and have licenses purchased.

I am starting to lose faith in what i thought was a fantastic suite of controls, so could someone please help.

Regards
Neil


1 Reply

JA Janagan Syncfusion Team April 24, 2008 02:37 PM UTC

Hi Neil,

Thanks for posting your query to us.

1) Edit mode does not function properly?

I am afraid that I am not able to reproduce the issue of improper functioning of edit button. Please check with the code below for setting the edit to work:


this.GridGroupingControl1.TableDescriptor.AllowEdit = true;



Also I have created a sample to test this issue. Please refer the link below:

http://websamples.syncfusion.com/samples/Grid.Web/6.2.0.40/trialeditingmode/main.htm


2) To bind LINQ query with the grid?

It is possible to bind the grid to the query result by creating a new LINQ to the SQL model and adding it to the application that enables to model classes which maps to the database. Please refer the link below for detailed information:

http://64.78.15.37:89/technologies/database/linq/default.aspx

Please let me know if you have any questions.

Regards,
Janagan.



Loader.
Up arrow icon