Image Manager consumes 100% height

5 posts, 1 answers
  1. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 05 Oct 2012 Link to this post

    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.


  2. Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 09 Oct 2012 Link to this post

    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.
  3. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 10 Oct 2012 Link to this post

    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
  4. Answer
    Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 10 Oct 2012 Link to this post

    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.
  5. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 10 Oct 2012 Link to this post

    thank you the code works great.
Back to Top