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

Resize radWindow on Tabstrip contents

3 Answers 65 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Steven Amani
Top achievements
Rank 1
Steven Amani asked on 16 Mar 2010, 02:46 PM
I have a page that is opened in a RadWindow. The page contains a TabStrip with 6 tabs. Each tab contains contents of different heights. Is there a way to resize the RadWindow  when clicking between the tabs so that it matches the contents in the tab pages?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Mar 2010, 03:57 PM
Hello Steven Amani,

I've attached a simple project which demonstrates how you can achieve this using the Client-Side API of RadTabStrip and RadWindow. Please download it and give it a try.

Greetings,
Yana
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.
0
Steven Amani
Top achievements
Rank 1
answered on 18 Mar 2010, 06:21 PM
That works great thanks! However, it also requires that every pageview has a specified height otherwise the 

pageView.clientHeight always return 0. Is there any way around this?

0
Yana
Telerik team
answered on 19 Mar 2010, 02:52 PM
Hello Steven Amani,

I've tested it and pageView.clientHeight returns the height even if Height property is not set. Please check the attached modified project.

All the best,
Yana
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
TabStrip
Asked by
Steven Amani
Top achievements
Rank 1
Answers by
Yana
Telerik team
Steven Amani
Top achievements
Rank 1
Share this question
or