radwindow preload

2 posts, 0 answers
  1. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 09 Dec 2009 Link to this post


    is there some way to preload website in window. When after radWindow is opened no loading is needed?


  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 10 Dec 2009 Link to this post

    Hello Jan,

     What I can suggest is the following:

    1) Set big negative values for Top and Left, e.g as shown below:

    <telerik:RadWindow ID="radWinBilling_Edit" runat="server" Width="300"
               Height="300" Top="-10000" Left="-10000" OnClientPageLoad="OnClientPageLoad" >

    2) In the OnClientPageLoad handler move the RadWindow to the desired location (use the moveTo method or simply call center() to center the RadWindow on the screen )

    3) Note, that if your RadWindow is modal, the Top and Left will not be respected. If you want to make it modal, use the set_modal method after you put the RadWindow on the desired place on teh screen.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top