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.

dotnetnuke - does not contain a definition for 'EJ'

Thread ID:

Created:

Updated:

Platform:

Replies:

131268 Jul 2,2017 06:44 AM Jul 4,2017 04:24 AM ASP.NET MVC 2
loading
Tags: DatePicker
Damien Boissat
Asked On July 2, 2017 06:44 AM

Hello,

I have created a standard module for dotnetnuke and install the syncfusion nuget packages mvc5 version15.2.0.43 in the project.

All compilation works fine, I have solved the pb with node.js and typescript, followed all the procedures from syncfusion and add all the references, assemblies, namespaces etc....

Everything should be fine but as soon as i place :@Html.EJ().DatePicker("MyFirstDatepicker") or@Html.EJ().ScriptManager() I got this error on the page no matter what I do:

'DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper>' does not contain a definition for 'EJ' and the best extension method overload 'Syncfusion.MVC.EJ.JavaScriptExtension.EJ(System.Web.Mvc.HtmlHelper)' has some invalid arguments

(see screenshot)




If I comment it :@*@Html.EJ().DatePicker("MyFirstDatepicker")*@ it is fine 
( see picture)



If someone with a working development env of dotnetnuke could drop my module inside it and help me with that it would be awesome. 

It is very easy to setup a dev env of dotnetnuke: https://youtu.be/HybcKCWCj1Q

I have hosted the zip file of the module there: https://drive.google.com/open?id=0B_Mr91TUZA7mYnlGUXRmR0xnWG8

In case someone is interested by the steps to follow (install node.js, angular, typescript etc....) to get a valid installation of syncfusion mvc nugets packages inside dotnetnuke just ask me, it took me more than one day to figure out everything and I would be happy to help because it was very annoying.

Many Thanks,

Damien Boissat

Damien Boissat
Replied On July 3, 2017 10:34 AM



Damien



Prem Kumar Madhan Raj [Syncfusion]
Replied On July 4, 2017 04:24 AM

Hi Damien, 
We are happy to hear that an issue is fixed. Please get back to us if you need any further assistance on this. 
Regards, 
Prem Kumar. M 


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.

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.

;