public static Control GetHelpLinkControl(string helpKey) { mojoHelpLink helpLinkButton = new mojoHelpLink(); helpLinkButton.HelpKey = helpKey; return(helpLinkButton); }
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); }