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

RadTabStrip in Radwindow not show

3 Answers 80 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Santiago Rial Iglesias
Top achievements
Rank 1
Santiago Rial Iglesias asked on 08 May 2008, 09:42 AM

Hi,

I have a project with the next controls:

TabStripControl +MultipageView+RadWindowManager

TabStripControl works fine when loading the page with RadWindow....but if I change the property "ShowContentDuringLoad" to FALSE tabstrip not showing

Thank you.

Santiago.

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 May 2008, 11:43 AM
Hi Santiago,

Generally speaking, when a RadWindow is opened, it does not show the content page until it is fully loaded (e.g. window.onload is fired for the content page). During that time the IFRAME that contains the content page is with dimensions 0 by 0 pixels. Once the page is loaded, the IFRAME is expanded to fit the RadWindow.
This behavior is controlled by the ShowContentDuringLoad property. If it is set to true, RadWindow will act exactly like an IFRAME and will show the content page immediately after opening. Now if your tabstrip control is positioned depending on the size of the content page, when ShowContentDuringLoad is set to false, the tabstrip will use the 0 by 0 pixels dimensions which will result in a problem in the positioning.

Can you please let me know why you need to set the ShowContentDuringLoad property to false?


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Santiago Rial Iglesias
Top achievements
Rank 1
answered on 08 May 2008, 03:09 PM

Hi Georgi ,

I use the radwindow for show a form to edit a record selected in radgrid.

During loading radwindow I don't like are visible the previous data form.

If I change the property "ShowContentDuringLoad" to false, the contents of radwindow is blank until loading ending.

Greetings.

Santiago.

0
Georgi Tunev
Telerik team
answered on 10 May 2008, 11:06 AM
Hi Santiago,

Thank you for the additional information. In this case I would suggest to open the RadWindow with a negative offset (set Top and Left to negative values) and to use the center() or moveTo() methods to show the window only when it is fully loaded.

If you continue experiencing problems, please open a new support ticket and send me a small sample project where I can see the behavior on your side. I will check it and get back to you.




All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TabStrip
Asked by
Santiago Rial Iglesias
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Santiago Rial Iglesias
Top achievements
Rank 1
Share this question
or