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
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?
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.