Example #1
0
        protected override IEnumerable <ScriptReference> GetScriptReferences()
        {
            if (!Visible)
            {
                return(null);
            }

            return(ToolkitResourceManager.GetControlScriptReferences(GetType()));
        }
Example #2
0
        protected virtual IEnumerable <ScriptReference> GetScriptReferences()
        {
            if (!Visible)
            {
                return(null);
            }

            return(new[] { ToolkitResourceManager.GetBaseScriptReference() }.Concat(ToolkitResourceManager.GetControlScriptReferences(GetType())));
        }