Override Window page title

3 posts, 1 answers
  1. Connections Academy Developer
    Connections Academy Developer avatar
    63 posts
    Member since:
    May 2005

    Posted 13 Aug 2009 Link to this post

    In your support documentation, you have:

    set_title Sets window title. Note that if the content page has its own title set in the @Page directive or in the <head> section, this title will override the RadWindow's one.

    Is there a way to override the title set in the @Page directive or the head section?

  2. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 14 Aug 2009 Link to this post

    Hi,

    I believe that this forum thread will be of help.

    Kind regards,
    Fiko
    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.
  3. Connections Academy Developer
    Connections Academy Developer avatar
    63 posts
    Member since:
    May 2005

    Posted 14 Aug 2009 Link to this post

    Excellent, this works for me:

    <script type="text/javascript"
        function windowLoad(oWindow, args) 
        { 
            oWindow.set_title("New title"); 
        } 
        function openWindow() 
        { 
            var oWindow = radopen("Popup.aspx""RadWindow1"); 
            oWindow.remove_pageLoad(windowLoad); 
            oWindow.add_pageLoad(windowLoad); 
        } 
    </script> 
Back to Top