public static void RegisterHeaderCSS(string url, Page oPage)
        {
            HtmlLink css = new HtmlLink();

            css.Href = (url.StartsWith("http://") || url.StartsWith("https://")) ? url : ClientScriptHelper.getURLHome() + url;
            css.Attributes.Add("rel", "stylesheet");
            css.Attributes.Add("type", "text/css");
            if (!oPage.Header.Controls.Contains(css))
            {
                oPage.Header.Controls.Add(css);
            }
        }
        public static void RegisterHeaderScript(string url, Page oPage)
        {
            string             urlJS = (url.StartsWith("http://") || url.StartsWith("https://")) ? url : ClientScriptHelper.getURLHome() + url;
            HtmlGenericControl js    = new HtmlGenericControl();

            js.TagName = "script";
            js.Attributes.Add("type", "text/javascript");
            js.Attributes.Add("src", urlJS);
            if (!oPage.Header.Controls.Contains(js))
            {
                oPage.Header.Controls.Add(js);
            }
        }