1-888-365-2779
+1-888-365-2779
Try Now
More in this section

iFrames

2 posts, 0 answered
  1. Femy
    Femy avatar
    37 posts
    Registered:
    02 Jan 2008
    09 Oct 2008
    Link to this post
    Hi
    Is it possible to have the content in a generic content module be displayed inside an iFrame? I dont see anything on this int he forums/documentation. We have a special scenario where the client wants the content routed to an iFrame. Any suggestions?
    TIA
    FR
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    14 Oct 2008
    Link to this post
    Hello Femy,

    You could declare <iframe> element in the master page and set its src attribute to point to a page that contains the content (Generic Content control):

    .master
    <iframe src="content.aspx"></iframe> 

    content.aspx should use separate master page (not the one with the <iframe> declaration). Also, you could exclude it from site navigation (set Show in navigation to No).

    Do let us know if this helps.

    Kind regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered