About Me

Having 12 years experience in Microsoft technologies.Since more than 7 years working in SharePoint technologies. Expert in providing consultation for SharePoint projects. Hands on with development and administration.
Showing posts with label Page title. Show all posts
Showing posts with label Page title. Show all posts

Wednesday, 11 December 2013

Programmatically change the Title of SharePoint page

ContentPlaceHolder contentPlaceHolder = (ContentPlaceHolder)Page.Master.FindControl(strPlcaeHolderName);
 
contentPlaceHolder.Controls.Clear();
 
LiteralControl literalControl = new LiteralControl();
 
literalControl.Text = strDisplayText;
 
contentPlaceHolder.Controls.Add(literalControl);