Embedded PDF

5 posts, 0 answers
  1. Milosz
    Milosz avatar
    24 posts
    Member since:
    Jun 2009

    Posted 12 Aug 2009 Link to this post

    Hi,
    I have Radsplitter and radpane in it, when i display pdf file in this radpane (e.g using iframe or contenturl) i can't resize this panel using radsplitter, did someone have similar problem?
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 12 Aug 2009 Link to this post

    Hello Milosz,

    There is a problem with catching mouse events when using IFRAMEs also but they are also due to the way the things work. The IFRAME is actually another, separate document and it has it owns events - this being said, you come to a point that once you have gone into the IFRAME, the events belong to the other document and if you release the splitbar, the main document does not know about this event but only the document loaded in the IFRAME "understands" that the mouse button was released.

    Dealing with IFRAMEs,PDF documents, Java Applets and their events is pretty complex in such scenarios and we have introduced different workaround where this is possible - e.g the RadWindow which also contains an IFRAME hides the IFRAME while it is being moved or resized in order to prevent this IFRAME to catch the mouse events and to associate them with the main page. For the RadSplitter control, everything which we can suggest in order to improve the behavior in such scenarios is the following:

    1.  Set LiveResize="true".
    2. Set debug="false" in the Web.config


    Regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Milosz
    Milosz avatar
    24 posts
    Member since:
    Jun 2009

    Posted 13 Aug 2009 Link to this post

    ok thanks very much, that's a nice trick :)
    maybe you have trick on situation when you have pdf in iframe and you open RadWindow, when the window is displayed on that pdf border of radwindow is like behind this pdf, only content show up
  5. Milosz
    Milosz avatar
    24 posts
    Member since:
    Jun 2009

    Posted 21 Aug 2009 Link to this post

    i have another problem with radwindow and embedded pdf, i have radupload control in radwindow and if pdf is embedded on main site i can't open browse file window, any ideas?
  6. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 25 Aug 2009 Link to this post

    Hello Milosz,

    Can you please try to set the "EnableEmbeddedStyleSheets" property of the RadUpload to false? Does the select file dialog opens then? If so, consider upgrading to the latest version of the Telerik RadControls. There was an issue with versions prior to Q2. The select button was hardly opening is some complicated scenarios, especially in IE.

    Best wishes,
    Genady Sergeev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017