I fixed the title error, I will give you credit for that, but your people skills have a lot to learn.
The title I fixed by calling back to the Master Page on each page to set the title, and I moved the title out fixed the bug where the title was not setting on each page, so thank you.
In case anyone needs this code, this is the easiest way to make a call to the master page from a page.
The master page is actually a child control of the page, even though you would think it would be its parent with the name Master page.
// if there is at least one control
if ((this.Controls != null) && (this.Controls.Count > 0))
{
// if the siteMaster exists
SiteMaster siteMaster = this.Controls[0] as SiteMaster;
// if the siteMaster exists
if (siteMaster != null)
{
// Set the title
siteMaster.SetTitle("Daily-Click Home Page.");
CorbyNichols
Member
20 Points
47 Posts
Re: Has anyone else had trouble with IE9?
Mar 02, 2012 02:03 PM|LINK
I fixed the title error, I will give you credit for that, but your people skills have a lot to learn.
The title I fixed by calling back to the Master Page on each page to set the title, and I moved the title out fixed the bug where the title was not setting on each page, so thank you.
In case anyone needs this code, this is the easiest way to make a call to the master page from a page.
The master page is actually a child control of the page, even though you would think it would be its parent with the name Master page.
// if there is at least one control if ((this.Controls != null) && (this.Controls.Count > 0)) { // if the siteMaster exists SiteMaster siteMaster = this.Controls[0] as SiteMaster; // if the siteMaster exists if (siteMaster != null) { // Set the title siteMaster.SetTitle("Daily-Click Home Page.");