Hi Darshan,
Sitefinity renders Page Title and other header tags as Literal control.
That is why the Title property of the Page is null. This implementation
is a remnant from previous versions, where the Title property was
missing. We are sorry for omitting to upgrade this functionality
according to the ASP.NET framework changes.
The Cms renders the Title tag on the basis of the page values set in
the Page Manager: it looks for title property first, if it is empty, the
Cms gets Page Alias or Page Name. It always renders the title
attribute, without checking whether it exists in the html of the page or
not.
For example in the default.aspx.cs, instead of
using:
if (Page.Title == "test")
{
// insert a javascript
}
you can use this one:
if (designer1.PageName == "test")
{
// insert a javascript
}
Please tell us if this solution is appropriate. We suppose you are talking about version 2.71 as you haven't filled in the necessary details above.
Greetings,
Rebecca
the
telerik team