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

How can I make my controls stretch to fit the RadWindow?

1 Answer 167 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nicholas
Top achievements
Rank 1
Nicholas asked on 21 Feb 2011, 05:21 PM
I have a RadPageView which I use with a RadMultiPage and RadTabStrip inside of a RadWindow. The problem is that my RadPageView does not stretch to fill the RadWindow. I set the Height and Width to 100%, and for the Width it works fine... (when I resize the window, the PageView is also resized). However, the height of the PageView only stretches down to the height of the controls that it contains. I spent a lot of time playing with the properties trying to get this to work... Is there an easy way to achieve this? Or do I have to handle client side OnResize events... It works for the width though.. shouldn't it be easy to also work for the height?
I attached some images to help describe my scenario... Thanks!!

1 Answer, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 22 Feb 2011, 02:00 PM
Hello Nicholas,

A control will not take on 100% of the container's height unless its parent element height is set. So I'm assuming your RadPageView is inside of a div. If so, the div needs to have it's height set.

I hope that helps.
Tags
Window
Asked by
Nicholas
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Share this question
or