Running Both Kendo MVC And Telerik MVC Q1 2012 Extensions

2 posts, 0 answers
  1. Graham
    Graham avatar
    10 posts
    Member since:
    Jul 2012

    Posted 21 Nov 2012 Link to this post

    We develop using Telerik MVC Q1 2012 Extensions, but we need a grid that allows multiple rows selected, so I have installed Kendo MVC and added it to my project. After the installation, I received a warning that JavaScript ambiguities might occur, and that I should run the "Telerik MVC Configure Wizard".

    I have been unable to find out where the "Telerik MVC Configure Wizard" is - can anyone tell me, please?

    On trying to run the project, I received the following error:

    Compiler Error Message: CS0104: 'MenuOrientation' is an ambiguous reference between 'Kendo.Mvc.UI.MenuOrientation' and 'Telerik.Web.Mvc.UI.MenuOrientation'

    Edit: I now have the full error message: on right clicking on the project and selecting the option to convert it to a Kendo project, it runs a process, then gives the following "Warning" message:

    "The Telerik MVC jQuery inclusion may interfere with the Kendo jQuery inclusion. Consider disabling the embedded jQuery usage by running the Telerik MVC Configure Wizard"

    Again - does anyone know where I can find the Telerik MVC Configure Wizard, please?
  2. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 23 Nov 2012 Link to this post

    Hi Graham,

    Please avoid posting duplicate forum threads and support tickets with the same questions, as this may lead ot double work and overhead in our support staff.

    I am copying my reply from the support ticket, so that anyone else interested in the same topic, can see it:

    The configuration wizard is part of the Telerik MVC Visual Studio Extensions, which can be installed together with the MVC components, when using the MSI installer, not the ZIP. You can find information about the wizard's usage at:

    http://www.telerik.com/help/aspnet-mvc/visual-studio-extensions-creation-and-configuration-wizard.html

    The ambiguous reference error can be easily resolved if you use the complete names of the namespaces in your C# code.

    With regard to the jQuery registrations - you must not have more than one jQuery instance on the page and Kendo UI requires jQuery to be registered before any widget that may need it, so usually one adds it to the <head>. As a result, you should disable the automatic jQuery registration of the Telerik ScriptRegistrar.

    http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html#jQuery


    Regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top