/// <inheritdoc />
        /// <summary>
        /// Overridden. <inherited />
        /// </summary>
        protected override void Render(HtmlTextWriter writer)
        {
            if (ComponentHelper.GetParentUpdatePanel(this) != null)
            {
                throw new InvalidOperationException("KrystalwareScriptRenderer is not valid within an UpdatePanel.");
            }

            ComponentHelper.RenderScripts(writer, ScriptInclude);
        }