public static void addControlToMenu(Type ascxControlToLoad) { string controlName = StringsAndLists.addSpacesOnUpper(ascxControlToLoad.Name.Replace("ascx_", "")); addControlToMenu(ascxControlToLoad, controlName); }
public static Control openAscx(Type ascxControlToLoad) { string controlName = StringsAndLists.addSpacesOnUpper(ascxControlToLoad.Name.Replace("ascx_", "")); return(openAscx(ascxControlToLoad, controlName)); }