ModalView: Show remote Urls instead of HTML content

3 posts, 0 answers
  1. BigzampanoXXl
    BigzampanoXXl avatar
    76 posts
    Member since:
    Jan 2007

    Posted 28 Jan Link to this post

    Hello,

     

    is it possible to open a modal view and show a remote HTML page of PDF Document inside the modal view content?
    I only see, that you can add own html in the "Content" Block.

     

    If its not possible with the modal view, is there any control that allows me to do that. I would like to show HTML pages or PDFs in a "non fullscreen window", which should be on top of my main window. So modal window would be perfect ...

     

    Greetings

  2. BigzampanoXXl
    BigzampanoXXl avatar
    76 posts
    Member since:
    Jan 2007

    Posted 28 Jan Link to this post

    I already have a working solution.

    I just use the ModalView and put an iFrame Html Tag as the content. With adding a few css Styles I got it working.

  3. Dimitar
    Admin
    Dimitar avatar
    806 posts

    Posted 30 Jan Link to this post

    Hello,

    I am glad to hear that you have managed to resolve the issue.In general, using iframe for loading external content in the popup is the recommended approach for achieving the desired result.

    As alternative to the above, you could also utilize the Window widget that provides a built-in iframe option.

    In case you have any additional questions, please let me know.

    Regards,
    Dimitar
    Progress Telerik

    Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
Back to Top