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

Image Manager consumes 100% height

4 Answers 75 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Birgit
Top achievements
Rank 1
Birgit asked on 05 Oct 2012, 06:49 AM
Hi I am currently using the latest version of rad controls asp.net ajax V 2012.2.912.40

and on the editor if i open up the image manager it opens up the rad window but strteches to 100% the height of the body size I also noticed the exact same error on the web demo

Browser is am using is Firefox 15.0.1 on windows 7 64 bit.


4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Oct 2012, 03:01 PM
Hello,

We are not aware of this problem and I was unable to reproduce it in Firefox 15.0.1 in the live demos of RadEditor. You can see my test in the following video: http://screencast.com/t/1JqdqnDn.

Could you please disable all Firefox plugins, delete its cache and test again? Try also to reproduce the issue on another PC outside of your local network.

Regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Birgit
Top achievements
Rank 1
answered on 10 Oct 2012, 06:29 AM
Hi Rumen

I attached a screenshot

I tried it on a bigger screen the fact is it does not add 100% height on the screen, but the image manager uses alot of  white space on the bottom that it shouldn't on the metro touch theme

Thank you
0
Accepted
Rumen
Telerik team
answered on 10 Oct 2012, 07:21 AM
Hi,

Thank you for the screenshot demonstrating the reported behavior of the Metro Touch skin.

The large empty gap is by design and if we reduce the dialog height, the Insert and Cancel button will become hidden when the user switches to Properties mode. Nevertheless, if you would like you can reduce the height of the Image Manager using the following code:

<telerik:RadEditor ID="RadEditor1" runat="server" Skin="MetroTouch" OnClientCommandExecuting="OnClientCommandExecuting">
    <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />
</telerik:RadEditor>
 
<script type="text/javascript">
    function OnClientCommandExecuting(editor, args) {
        setTimeout(function () {
            editor.get_dialogOpener()._getDialogContainer("ImageManager").set_height(660);
        }, 0);
    }
</script>


Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Birgit
Top achievements
Rank 1
answered on 10 Oct 2012, 07:30 AM
thank you the code works great.
Tags
Editor
Asked by
Birgit
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Birgit
Top achievements
Rank 1
Share this question
or