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

Image preview different in browsers

1 Answer 54 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 21 Jan 2010, 08:57 AM
Hi,

In FF and IE there is a major difference when double clicking on an image.

Please refer to the attached preview screenshots. I prefer the FF way.

BR,
Marc

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 26 Jan 2010, 10:54 AM
Hello Marc,

This is a browser specific behavior and we cannot control it. When a image is bigger than the size of an  IFRAME (RadWindow is based on an IFRAME), then scrollbars will be showed in IE. The FF browsers, however, automatically scale the content (you can see this in the title of the RadWindow). In FF when an image is scaled and when the mouse is over the image a "+" sign appears and if you click the mouse's left button, then the image will be stretched to its full size. Please note that this behavior occurs when an standard IFRAME is used as well (shown in the attached project) and it is not related to RadControls.

A solution of this behavior can be to set the size of the Preview dialog to be greater than the size of the images. This approach is shown in the attached attached demo.

I hope this helps.


Kind regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
FileExplorer
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Fiko
Telerik team
Share this question
or