Cannot Change Ribbon extra text

May 17, 2011 at 10:46 AM

Here is the code (actually this original code from Contoso WEB sample code) :

The extrat text still appears Peter Johnson.

I would be appreciated for any comments.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OfficeWebUI;

namespace ContosoWebApp
{
    public partial class Main : System.Web.UI.MasterPage
    {
        public OfficeRibbon MainRibbon { get { return this.OfficeRibbon1; } }
        public OfficeWorkspace MainWorkspace { get { return this.Workspace1; } }
        public Manager MainManager { get { return this.Manager1; } }

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected override void OnInit(EventArgs e)
        {
            this.OfficeRibbon1.ExtraText = "Smart Demo - Marketing";

            base.OnInit(e);
        }

        protected void Goto_Home(object sender, EventArgs e)
        {
            Response.Redirect("~/default.aspx");
        }
    }
}