This is a migrated thread and some comments may be shown as answers.

Embedded PDF

4 Answers 120 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Milosz
Top achievements
Rank 1
Milosz asked on 12 Aug 2009, 01:23 PM
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?

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 12 Aug 2009, 02:57 PM
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.
0
Milosz
Top achievements
Rank 1
answered on 13 Aug 2009, 07:30 AM
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
0
Milosz
Top achievements
Rank 1
answered on 21 Aug 2009, 08:19 AM
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?
0
Genady Sergeev
Telerik team
answered on 25 Aug 2009, 03:49 PM
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.
Tags
Splitter
Asked by
Milosz
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Milosz
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or