Beispiel #1
0
        private static void RegisterScriptInHeader(Page page, FilePathConfigElementCollection urls)
        {
            foreach (FilePathConfigElement cssElement in urls)
            {
                string path = cssElement.Path;

                if (path.IsNotEmpty())
                {
                    DeluxeClientScriptManager.RegisterHeaderEndScript(page, path);
                }
            }
        }
Beispiel #2
0
        private static void RegisterCssInHeader(Page page, FilePathConfigElementCollection urls)
        {
            foreach (FilePathConfigElement cssElement in urls)
            {
                string path = cssElement.Path;

                if (path.IsNotEmpty())
                {
                    ClientCssManager.RegisterHeaderEndCss(page, path);
                }
            }
        }