示例#1
0
        public static Control GetHelpLinkControl(string helpKey)
        {
            mojoHelpLink helpLinkButton = new mojoHelpLink();

            helpLinkButton.HelpKey = helpKey;

            return(helpLinkButton);
        }
示例#2
0
        public static void AddHelpLink(
            Panel parentControl,
            string helpkey)
        {
            Literal litSpace = new Literal();
            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);

            mojoHelpLink helpLinkButton = new mojoHelpLink();
            helpLinkButton.HelpKey = helpkey;
            parentControl.Controls.Add(helpLinkButton);

            litSpace = new Literal();
            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);
        }
示例#3
0
        public static void AddHelpLink(
            Panel parentControl,
            string helpkey)
        {
            Literal litSpace = new Literal();

            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);

            mojoHelpLink helpLinkButton = new mojoHelpLink();

            helpLinkButton.HelpKey = helpkey;
            parentControl.Controls.Add(helpLinkButton);

            litSpace      = new Literal();
            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);
        }
        private static void AddHelpLink(
            Panel parentControl,
            mojoProfilePropertyDefinition propertyDefinition)
        {
            Literal litSpace = new Literal();
            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);

            mojoHelpLink helpLinkButton = new mojoHelpLink();
            helpLinkButton.HelpKey = "profile-" + propertyDefinition.Name.ToLower() + "-help";
            parentControl.Controls.Add(helpLinkButton);

            litSpace = new Literal();
            litSpace.Text = " ";
            parentControl.Controls.Add(litSpace);
        }