AJAX, Masterpage & Page Title

4 posts, 0 answers
  1. Andreas Müller
    Andreas Müller avatar
    9 posts
    Member since:
    Nov 2008

    Posted 04 Feb 2009 Link to this post


    I'm using the AJAX Manager to update a control inside a page built upon a masterpage (all controls for this update are located in the detail-page, so there is no interaction with the master-page). This all works great but as soon as the new data has been loaded the page-title of changes to "untitled page".

    I tried to change this by setting the ajax-manager-property:


    And in the Code-Behind where the data is beeing updated I tried to change the title using the following code:

    Page.Header.Title = "Test" 
    Master.Page.Header.Title = "Test" 
    Master.Page.Title = "Test" 
    Dim mp As New MasterPage 
    mp = CType(Master, MasterPage) 
    mp.Page.Title = "asdf" 
    (these are several approaches in one code-block - I tried all of them - nothing worked)

    Also setting the ajax-property "EnablePageHeadUpdate" to false didn't do the trick.

    So, how do I change the page-title?

  2. Yavor
    Yavor avatar
    11 posts

    Posted 09 Feb 2009 Link to this post

    Hello Andreas,

    Based on this information, it is hard to determine what is causing this behavior.
    If the issue persists, you can open a formal support ticket, and send us the problematic code, in the form of a small working project, for further investigation.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Tom
    Tom avatar
    12 posts
    Member since:
    May 2013

    Posted 27 Jun 2015 Link to this post

    Was this resolved? I have the same issue. I have form with user information that is based on an id being passed in. On initial load I set the page title to include the user name. When I execute any ajax requests on that page the page title is reset to the one specified in the @Page directive.
  4. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 01 Jul 2015 Link to this post

    Hello Tom,

    Can I kindly ask you to share more details (markup, related code behind) for the described scenario? Thus we will be able to test it locally and verify if this issue has been fixed and if not if possible workaround is available.

    Maria Ilieva
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top