/// <summary>
    /// Method to set text to menu options
    /// </summary>
    /// <param name="typeName">TypeName</param>
    private void SetMenuItemText()
    {
        fbTitle.Content = this.Page.Title.ToString();
        StateManager stateManager = StateManager.Instance;
        string[] virtualDir = CommonUtilities.GetPath();
        MiscellaneousController objMisc = new MiscellaneousController();
        TributesUserInfo _objTributeUserInfo = new TributesUserInfo();
        Tributes objTributes = new Tributes();
        objTributes.TributeId = _tributeId;
        if (_tributeId > 0)
        {
            _objTributeUserInfo.Tributes = objTributes;
            objMisc.GetTributeByID(_objTributeUserInfo);

            Tributes objTrib = (Tributes)stateManager.Get("TributeSession", StateManager.State.Session);
            try
            {
                if (ConfigurationManager.AppSettings["ApplicationType"].ToString().ToLower() == "yourmoments")
                {
                    lblGuestBook.Text = "Leave a message";
                    liManageTribute.InnerHtml = "<a href='" + Session["APP_BASE_DOMAIN"] + "AdminMyMomentsPrivacy.aspx?tributeid=" + _tributeId + "&sby=manage'> Manage Website </a>";
                }
                else
                {
                    if (_tributeType != null)
                    {
                        if (_tributeType.ToLower().Equals("memorial"))
                            lblGuestBook.Text = "Leave condolences";
                        else
                            lblGuestBook.Text = "Leave a message";
                    }
                    liManageTribute.InnerHtml = "<a href='" + Session["APP_BASE_DOMAIN"] + "adminmytributesprivacy.aspx?tributeid=" + _tributeId + "&sby=manage'>" + ResourceText.GetString("lbtnManageTributeSite_GB_Master") + "</a>";
                }
                if (_typeName == "GuestBook")
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblloginmsg_GB_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopupFromSubDomain(location.href,document.title);'>Log in</a> or <a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                }
                else if (_typeName == PortalEnums.TributeContentEnum.Story.ToString())
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblloginmsg_ST_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopupFromSubDomain(location.href,document.title);'>Log in</a> or <a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";

                    if (!string.IsNullOrEmpty(_objTributeUserInfo.Tributes.MessageWithoutHtml.ToString()))
                    {
                        fbDescription = _objTributeUserInfo.Tributes.MessageWithoutHtml.ToString();
                    }
                }
                if (_typeName == PortalEnums.TributeContentEnum.Gift.ToString())
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblloginmsg_GT_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopupFromSubDomain(location.href,document.title);'>Log in</a> or <a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                }
                if (_typeName == PortalEnums.TributeContentEnum.Event.ToString())
                {
                    lbtnAdd.Text = "Add an event";
                }
                if (_typeName == PortalEnums.TributeContentEnum.ManageEvent.ToString())
                {
                    lbtnBackTo.Text = "Back To Event";
                }
                if (_typeName == PortalEnums.TributeContentEnum.EventFullView.ToString())
                {
                    lbtnEdit.Text = "Edit event";
                }
                if (_typeName == PortalEnums.TributeContentEnum.InviteGuest.ToString())
                {
                    lbtnBackTo.Text = "Back To Event";
                }
                #region FOR NOTES PAGES
                else if (_typeName == "TributeNotes")
                {
                    lbtnAdd.Text = ResourceText.GetString("lbtnAddNote_Note_Master");
                }
                else if (_typeName == "AddNote" || _typeName == "EditNote")
                {
                    lbtnBackTo.Text = ResourceText.GetString("lbtnBackToNotes_Note_Master");
                }
                else if (_typeName == "NoteFullView")
                {
                    lbtnEdit.Text = ResourceText.GetString("lbtnEditNote_Note_Master");
                }
                #endregion
                #region FOR VIDEO PAGES
                else if (_typeName == "AddVideo" || _typeName == "EditVideo")
                {
                    lbtnBackTo.Text = ResourceText.GetString("lbtnBackToVideos_Video_Master");
                }
                else if (_typeName == "VideoGallery")
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblLogin_VideoGallery_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>Log in</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                    lbtnAdd.Text = ResourceText.GetString("lbtnAddVideo_Video_Master");
                }
                else if (_typeName == "ManageVideo")
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblLoginComment_ManageVideo_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>Log in</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                    lbtnEdit.Text = ResourceText.GetString("lbtnEditVideo_Video_Master");
                }
                else if (_typeName == "ManageVideoTribute")
                {

                    pLogin.InnerHtml = ConfigurationManager.AppSettings["ApplicationType"].ToString().ToLower() == "yourmoments" ? ResourceText.GetString("lblLoginComment_VideoTribute_Master1") : ResourceText.GetString("lblLoginComment_VideoTribute_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>Log in</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                    lbtnEdit.Text = ResourceText.GetString("lbtnEditVideoTribute_MV");
                }
                #endregion
                #region FOR PHOTO PAGES
                else if (_typeName == "AddPhotoAlbum")
                {
                    lbtnBackTo.Text = ResourceText.GetString("lbtnBackToPhotos_Photo_Master");
                }
                else if (_typeName == "AddPhotosToAlbum")
                {
                    lbtnBackTo.Text = "Back to photo album"; //ResourceText.GetString("lbtnBackToPhotos_Photo_Master");
                }
                else if (_typeName == "EditPhotoAlbum")
                {
                    lbtnBackTo.Text = ResourceText.GetString("lbtnBackToPhotos_EditPhoto_Master");
                }
                else if (_typeName == "PhotoGallery")
                {
                    pLogin.InnerHtml = ResourceText.GetString("lblLogin_PhotoGallery_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>Log in</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                    lbtnAdd.Text = ResourceText.GetString("lbtnCreateAlbum_Photo_Master");
                }
                else if (_typeName == "PhotoAlbum")
                {
                    pLogin.InnerHtml = ResourceText.GetString("txtLogin_PA_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>Log in</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>Sign up</a>";
                    lbtnAdd.Text = ResourceText.GetString("lbtnAddPhotos_PA_Master");
                    lbtnEdit.Text = ResourceText.GetString("lbtnEditAlbum_PA_Master");
                }
                else if (_typeName == "PhotoFullView")
                {
                    pLogin.InnerHtml = ResourceText.GetString("txtLogin_PV_Master") + " <a href='javascript: void(0);' onclick='UserLoginModalpopup(location.href,document.title);'>" + ResourceText.GetString("lnkLogin_Master") + "</a>" + ResourceText.GetString("lblOr_ST_Master") + "<a href='javascript: void(0);' onclick='UserSignupModalpopupFromSubDomain(location.href,document.title);'>" + ResourceText.GetString("lnkSignup_Master") + "</a>";
                    lbtnEdit.Text = ResourceText.GetString("lbtnEditPhoto_PV_Master");
                }
                else if (_typeName == "ManagePhoto")
                {
                    lbtnBackTo.Text = ResourceText.GetString("lbtnBackToPhotos_MP_Master");
                }

                if (objTrib != null)
                {
                    if (string.IsNullOrEmpty(fbDescription))
                        fbDescription = _objTributeUserInfo.Tributes.WelcomeMessage.ToString();
                    if (string.IsNullOrEmpty(fbThumbnail))
                        fbThumbnail = virtualDir[2] + _objTributeUserInfo.Tributes.TributeImage.ToString();
                }
                fbDesc.Content = fbDescription;
                fbThumb.Content = fbThumbnail;
                PageDesc.Content = fbDescription;
                PageThumb.Href = fbThumbnail;
                #endregion
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }