I have created a Content Page using Master Page.
Within Master Page, I have created the following tag for Title:
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Within Content Page, following are set:
protected void Page_Load(object sender, EventArgs e)
this.Page.Title = "My New Title";
Though I am also setting the Master Page at run time as bellow:
protected void Page_PreInit(Object sender, EventArgs e)
this.MasterPageFile = "~/MasterPages/A.master";
this.MasterPageFile = "~/MasterPages/B.master";
While getting open this page in browser, I got following Title:
http://localhost:3562/?PatientRegistrationKey=0 - My New Title
Please advice for the changes, so that there should be only My New Title within title, nothing extra like query string etc.
Any help would be appreciated.