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

Grid Failing with Mono (GridEditMode.PopUp )

3 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 17 May 2015, 10:07 PM

 I have posted this question on Stackoverflow, but had no real success in getting an answer.

 Hopefully someone here can help me.

 When I add this to my Grid:

 .Editable(editable => editable.Mode(GridEditMode.PopUp))

I get the following error:

 System.IO.FileNotFoundException
 Could not load file or assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

 When I remove the Popup edit function it works.

 Mono does not use / support System.Data.Entity.

 Furthermore, because the assembly is missing from mono, nothing in my solution uses or references that Library.

 Not event in my Web.Conf file.

 How can I solve this problem?

3 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 20 May 2015, 07:15 AM

Hello Shane,

Unfortunately, I'm not sure what may causing the described error. Kendo.Mvc assembly does not have reference to System.Data.Entity and can be build on MONO. Maybe you should verify that there is no EditorTemplates which are either directly or indirectly using classes for System.Data.Entity assembly.

Regards,
Rosen
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Shane
Top achievements
Rank 1
answered on 28 May 2015, 09:03 PM
I will give that a try, but at this stage I was not using any editor templates at all. It was a blank MCV 4 Application, just implementing the Grid with some dummy data from a List<>.
0
Rosen
Telerik team
answered on 01 Jun 2015, 07:50 AM

Hello Shane,

Could you try removing the Grid and explicitly render the editor for the model (using @Html.EditorForModel). Are you getting the same result? You can try overriding the Object EditorTemplate by placing a custom one and see if this makes any difference. 

On a side note it seems that as of Mono 2.11.3 EF is supported. Is adding the EF from Nuget makes any difference?

Another thing you could try is enabling the MONO logging and see if this gives more information.

Regards,
Rosen
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Shane
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Shane
Top achievements
Rank 1
Share this question
or