RadWindow popups

3 posts, 0 answers
  1. waruni
    waruni avatar
    27 posts
    Member since:
    Jan 2008

    Posted 26 Aug 2009 Link to this post

    Hi


    I have a problem regarding RadWindow popups. We are calling it from a button click at the bottom of the main page (The main page is a bit lengthy). Once we click on the button, the RadWindow popup opens, but the focus is not set to the popup page. The focus is set to the top of the page and the user has to scroll down to view the pop up RadWindow.

    How can i fix this?

    thanks.

    Regards,

    Waruni


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 26 Aug 2009 Link to this post

    Hi Waruni,

    I guess setting window position to center will do the trick.

    ASPX:
     
    <telerik:RadWindowManager OnClientShow="OnClientShow" ID="RadWindowManager1" runat="server">  
    <Windows> 
        <telerik:RadWindow NavigateUrl="http://www.google.com" VisibleOnPageLoad="true"></telerik:RadWindow> 
    </Windows> 
    </telerik:RadWindowManager> 

    JavaScript:
     
    <script type="text/javascript">  
    function OnClientShow(sender, args)  
    {  
        sender.center();  
    }  
    </script> 

    Thanks,
    Princy.
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 26 Aug 2009 Link to this post

    Hello waruni,

    How exactly do you open the RadWindow on that page? Please post the code of the calling element and the JavaScript code here.

    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top