Hi,
I have a problem with kendo. Yesterday I've installed Kendo.MVC library from NuGet pagckages, do all the configurations established in the web regarding Kendo and Razor, and it just don seem to work.
Web.Config configuration:
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Routing" />
<add namespace="Kendo.Mvc.UI" />
<add namespace="FNASystem" />
</namespaces>
</pages>
</system.web.webPages.razor>
In the index.cshtml file:
@(Html.Kendo().Menu()
.SecurityTrimming(false)
)
All the documentation that I found said that this should work, but the Kendo() function appears underline in red and with an error message that said "HtmlHelper<dynamic> does not contains a definition for 'Kendo' are you missing a using directive or a reference?", so, I do this In the index.cshtml file:
@using Kendo.Mvc.UI
@(Html.Kendo().Menu()
.SecurityTrimming(false)
)
But the @using Kendo.Mvc.UI part said "the using directive is not necesary, it previously appears in this namespace."
So, can yo help me with this issue?
Best regards