Beispiel #1
0
        private static HtmlAnchor CreateOfficePageAnchor(string officekey, string text)
        {
            var a = new HtmlAnchor
            {
                HRef      = SecureAdminPage.GetOfficePageEditUrl(officekey),
                Target    = "office",
                InnerHtml = text
            };

            return(a);
        }
Beispiel #2
0
        protected static HtmlAnchor CreateAdminOfficeAnchor(string officeKey,
                                                            string anchorText, string target = "office")
        {
            var a = new HtmlAnchor
            {
                HRef      = SecureAdminPage.GetOfficePageEditUrl(officeKey),
                Target    = target,
                InnerHtml = anchorText
            };

            return(a);
        }