Kicking off a resize manually

2 posts, 0 answers
  1. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 11 Jun 2010 Link to this post

    Hi,

       We have a bunch of splitters inside a form on a page. The height of the form is initially set to 100%. We have some JScript that changes the height of the form to 89% but when this executes, nothing happens until you resize the browser window and the Telerik magic kicks in and resizes all the panes.

       Want I think I need to do is manually call the functions that do this resizing after I set the new height of 89%. Can someone tell me how to do this i.e. what the function/functions are called?

    Kind Regards
    ADe
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 16 Jun 2010 Link to this post

    Hello ADe,

    What you describe sounds like the parent elements of the splitter are not resized when you resize the splitter. If so, you should handle this as well and resize them also through javascript and this is how the things work and not directly related to RadSplitter.

    What I believe that will be the easiest way to  resolve the issue is the following:

    1) Temporary remove the entire parent splitter from your page and set a DIV element with some background color on its place and apply the same resize logic to it - you should get the very same result as with the splitters.

    2) Resolve the problem with the DIV element and make it work as you require.

    3) Replace the DIV back with the splitters definition and apply the same logic as with the DIV and you should get the desired result.

    In case you need further assistance with this, please open a new support ticket and send us a small reproduction demo which is fully runnable along with detailed explanations and some screenshots of the actual and the desired result and we will do our best to help.

    Kind regards,
    Svetlina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top