Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 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);
                }
            }
        }