Hi
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:
(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?
Thanks!
Andreas
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:
| EnablePageHeadUpdate="True" |
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" |
Also setting the ajax-property "EnablePageHeadUpdate" to false didn't do the trick.
So, how do I change the page-title?
Thanks!
Andreas