Problems with the Project converter

Hi,

I have further problems with the project converter, where I can't find the reason. I have minimized the problem to the following: I create a new MVC Project, convert it to Syncfusion ASP.Net MVC Application, add my TestController and the depending View. Starting the App a got a NullReferenceException.


If I create a new project by using Syncfusion ASP.Net MVC Application and do exact the same, it works. What is missing in the converted project?

 I've attached the converted project, which isn't working.

Best regards,
Patrick

Attachment: ConvertTest_a23746ea.zip

1 Reply

BS Buvana Sathasivam Syncfusion Team June 22, 2018 01:06 PM UTC

Hi Patrick, 

Thanks for using Syncfusion Products. 

We have checked your shared sample.  We suspect that the cause of the issue is, you can use unobtrusive mode on MVC project.  Please follow the below steps to remove your issue on MVC project. 

Step #1: Please set false on unobtrusive mode.  

Web.config 

<appSettings> 
    ………… 
   <add key="UnobtrusiveJavaScriptEnabled" value="false" />  
  </appSettings> 

Step #2: Remove jquery bundle script and unobtrusive script.  Because, already used jquery script. 

_Layout.cshtml 

@Scripts.Render("~/Scripts/ej/ej.unobtrusive.min.js") 

@Scripts.Render("~/bundles/jquery")   // Remove this jquery bundle  

Please find the below sample. 

Please find the below link for getting started for MVC. 


Regards, 
Buvana S 


Loader.
Up arrow icon