Deployment - Controls missing

4 posts, 0 answers
  1. Terry
    Terry avatar
    31 posts
    Member since:
    Jun 2016

    Posted 13 Sep Link to this post

    I searched and can't find anything on this.  I tried to deploy my 1st ASP.NET MVC website using Telerik controls.  The Telerik controls don't load.  So I must have left out a step.  I'm hoping you can tell me what I left out.

    I copied the contents from my Visual Studio project to the web server.  The Kendo javascript files are on the webserver.  The kendo dll's are in the bin folder on the web server.

    When I run a view - the Kendo controls are missing.  For example, a dropdown list will look like a textbox and have a value in it.  Instead of being a Kendo dropdown list.  And the Kendo menu doesn't work either.  I can see the menu, but clicking on the down arrow to see the menu options doesn't do anything.

    Do you know what I need to do?  Thanks.

  2. Terry
    Terry avatar
    31 posts
    Member since:
    Jun 2016

    Posted 14 Sep Link to this post

    I've researched this more.  One thing I did wrong before was just copying the files from my Visual Studio project.  I should have done a publish.  (It's been a while since I created a web site.)  After publishing, I don't even see the Telerik menu control. 

    I tried a few things that people said to do.

    1.  In the BundleConfig class - add bundles.IgnoreList.Clear() and bundles.DirectoryFilter.Clear()

    2.  In the Global.asax.cs class add BundleTable.EnableOptimizations = true;

    I've tried publishing in both Debug and Release mode.  But no difference.

    At this point, I'm not sure what else to try.  Any ideas?

  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Terry
    Terry avatar
    31 posts
    Member since:
    Jun 2016

    Posted 14 Sep Link to this post

    We finally figured this out.  It was a compatibility mode problem.  We noticed the pages worked fine in Chrome.  So then we turned off compatibility mode, and the pages work in IE.  We ended up turning compatibility mode back on, and put this line in our layout page.

    meta http-equiv="X-UA-Compatible" content="IE=Edge" />

     

  5. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 15 Sep Link to this post

    Hi,

    Indeed, compat mode is not supported, because it forces the browser to render the contents in IE7 mode, which is not supported by UI for ASP.NET MVC components.

    As noted on the Browser Support page, Internet Explorer compatibility modes are not supported. These modes can exhibit different behavior and rendering bugs as compared to the browser versions they emulate.

    Best regards,
    Rumen
    Telerik by Progress
    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready