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

Kicking off a resize manually

1 Answer 89 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
ADe
Top achievements
Rank 1
ADe asked on 11 Jun 2010, 10:42 AM
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

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 16 Jun 2010, 09:58 AM
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.
Tags
Splitter
Asked by
ADe
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or