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

RadSplitter in RadPageView

1 Answer 59 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
John Colbert
Top achievements
Rank 1
John Colbert asked on 27 Aug 2008, 04:10 PM
I have a UserControl that contains a RadSplitter with two RadPanes. The UserControl is added to a RadPageView and RadMultipage dynamically when a user selects a menu option. So far so good, however, when a user resizes the client browswer window only the UserControl in view is resized accordingly while the UserControl in a non-visible RadPageView is not. How can I force the RadPageView to resize when out of view?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 29 Aug 2008, 12:43 PM
Hi John,

I suggest you resize the splitters in JavaScript with the help of resize(width, height) method of client-side RadSplitter object. You can find the splitter located in a user control like this:

var splitter = $find("userControlID_RadSplitterID"); 

The resize can be done in OnClientTabSelected event handler.

Hope this helps.

All the best,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
John Colbert
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or