RadTabStrip in Radwindow not show

4 posts, 0 answers
  1. Santiago Rial Iglesias
    Santiago Rial Iglesias avatar
    12 posts
    Member since:
    Apr 2008

    Posted 08 May 2008 Link to this post

    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.

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 08 May 2008 Link to this post

    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
  3. Santiago Rial Iglesias
    Santiago Rial Iglesias avatar
    12 posts
    Member since:
    Apr 2008

    Posted 08 May 2008 Link to this post

    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.

  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 May 2008 Link to this post

    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
Back to Top