Telerik drop-down hidden <iframe>s causes problems w/ IE and Visual Studio

6 posts, 0 answers
  1. Mike
    Mike avatar
    36 posts
    Member since:
    Sep 2012

    Posted 15 Oct 2012 Link to this post

    It seems that the hidden <iframe>s that Telerik's drop-down controls use (RadToolbar, RadMenu, RadContextMenu) causes performance/debugging issues when using IE and Visual Studio. We've seen this with multiple versions of IE and Visual Studio '10 and '12. We are using the latest Q2 '12 release of Telerik.

    What seems to be happened is that for each <iframe>, used, say for each menu item that contains other items, IE will navigate to its internal "Cannot display web page" page:

    res://ieframe.dll/dnserrordiagoff.htm


    This page will also cause the load of two internal scripts (errorPageStrings.js and httpErrorPageScripts.js). 

    Visual Studio's Script Documents list, that exists during debugging sessions, shows this. See the first screen capture, which shows a simple test site with a single page with a single RadMenu control that has 4 drop-downs.

    Aside from the theoretical performance issue of the browser constantly trying to navigate and then displaying these internal files, the real issue for us is that on our screens, we have a lot of these controls. As we debug, going from page to page sometimes takes several seconds as these spurious internal page/scripts are loaded/unloaded in the Script Documents window in Visual Studio. See the second screen capture that shows this.

    So - is there anything that can be done to prevent IE from trying to navigate for these hidden <iframe>s, and thus preventing the navigate to 

    res://ieframe.dll/dnserrordiagoff.htm

    in the first place?

    Thanks,

    - Mike
  2. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 08 Nov 2012 Link to this post

    You're not the only one.  I'm using the radtreeview and when I start debugging VS generates a huge list of multiple errorPageStrings.js, httpErrorPageStrings.js, httpErrorPagesScripts.js, and dnserrordiagoff.htm  in the solution explorer under IE.  It looks like it's generating one for each node in the tree.

    It certainly slows down debugging.  And I have to wonder if this is a big part of what is impacting performance in production.  IE9 is faster, but it still bogs down at times with this that it really shouldn't be that stressed.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mike
    Mike avatar
    36 posts
    Member since:
    Sep 2012

    Posted 09 Nov 2012 Link to this post

    Marbry,

    The latest release from Telerik (Q3 '12) fixes this. It also fixes the related issue with IE 10 and drop downs like RadToolbar and Radmenu - the hidden <iframe> they use no longer displays during drop down and no longer causes this bizarre script issue in Visual Studio.

    Regards,

    - Mike
  5. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 09 Nov 2012 Link to this post

    Excellent, thanks for noting that Mike.  That made a huge difference in the start-up performance.

    I still see a lot of "blank" items get generated when debugging, but it doesn't seem to have nearly as much of an impact.

    The upgrade also went a lot smoother than last time.
  6. Pankaj
    Pankaj avatar
    24 posts
    Member since:
    Apr 2013

    Posted 10 Apr 2013 Link to this post

    HI, 
    how to upgrade my telerik version from older version to The latest release Telerik (Q3 '12)
  7. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 15 Apr 2013 Link to this post

    Hi Pankaj,

    Please refer to the following articles where you can find more detailed information on how to upgrade to the latest version of the Telerik controls:
    Upgrading RadControls Trial to RadControls Developer license or newer version
    Updating RadControls for ASP.NET AJAX to another version or license

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017