Try Now
More in this section

Forums / Bugs & Issues / External Links

External Links

2 posts, 0 answered
  1. Allen
    Allen avatar
    71 posts
    04 Aug 2007
    27 Mar 2008
    Link to this post
    Our site has several external links that we wind up needing to reference from menus.  Almost always this is ok when creating an external page type as most links will render inside the frame - even if it looks weird or behaves a little oddly.  However, every once and a while we have a link to a site that "sniffs" for frame subordination and the link will "force to top".  Of course when it does that, it wreaks havoc on the Sitefinity Admin site and the users have a terrible time trying to edit the page status.  Most of the time, they just don't know what's happening.  Currently, we are using v3.0.  Is this a scenario that has been addressed in v3.2 or is there a way to "turn off" the external page rendering?    

  2. Nikifor
    Nikifor avatar
    232 posts
    18 May 2013
    28 Mar 2008
    Link to this post
    Hi Allen,

    External page rendering is made by design and is not considered as an issue which should be addressed. However, we will log this as a feature request - to make external page rendering optional.

    For the clients who do not need this functionality, there is a possible workaround but its logic would be a bit complicated. You can check the PageViewer template stored in ~/YourProject/Sitefinity/Admin/ControlTemplates/Pages/ which is used for page preview. We use iframe for visualizing it. If you can modify the code to verify whether the page is external for your domain, you should be able to prevent external pages from displaying. This is how only pages that are on localhost will be previewed. If you have the needed resource you can try modifying the PageViewer.ascx to fit your requirements.

    However, please have in mind that we have not tested this scenario.

    Hope the provided information is helpful.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered