Editor Resize Issue

2 posts, 0 answers
  1. Dan Ehrmann
    Dan Ehrmann avatar
    151 posts
    Member since:
    Jul 2004

    Posted 23 May 2014 Link to this post

    I am working on upgrading to 2014.1.403. I use setSize() a lot, and I think there is a problem with it in the new version. After calling setSize, the editor resizes properly, but one of the tables within the editor layout (class reLayoutWrapper) is still set to its default height of 400px. This only occurs if the new height is less than 400px - if it is more, the reLayoutWrapper table is resized to match.

    I resolved the problem for now with: $("table.reLayoutWrapper").height(myNewHeight);
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 26 May 2014 Link to this post

    Hi Dan,

    Thank you for reaching out. We are aware of this bug and the workaround you found is a viable solution. I created this page where you can track its progress where our workaround is also offered: http://feedback.telerik.com/Project/108/Feedback/Details/129175. The key difference is that it uses the concrete element, and not the first such element on the page. With your approach, perhaps you can add a parent element in the jQuery selector like $("table.reLayoutWrapper", editor.get_element()).height(myNewHeight); where editor is a reference to the RadEditor object.

    Please accept my apologies for the inconvenience caused.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top