Beispiel #1
0
    /// <summary>
    /// e.g., Home / OpSubject
    /// </summary>
    public bool RebuildBreadcrumbAndUpdateHead(int opId)
    {
        OperationHtmlAnchorData anchorData = empAuth.GetOperationHtmlAnchorData(opId, useEnglishSubject);

        if (anchorData == null)
        {
            return(false);
        }

        if (anchorData.IconImageFileUrl != "")
        {
            imgHead.Src = "~/BPimages/icon/" + anchorData.IconImageFileUrl;
        }

        if (ltrHead.Text == "default_head")
        {
            ltrHead.Text = anchorData.Subject;
        }

        RebuildBreadcrumb(ltrHead.Text, false);

        return(true);
    }