public virtual void RegisterStyles(ResourceManager scriptManager) { string[] requiredStyles = RequiredStyles; if (requiredStyles != null) foreach (string requiredStyle in requiredStyles) scriptManager.RegisterClientStyleInclude(GetType().FullName, requiredStyle); }