Beispiel #1
0
        public static SNScriptLoader Current(System.Web.UI.Page page)
        {
            var manager = SNScriptManager.GetCurrent(page) as SNScriptManager;

            if (manager != null)
            {
                return(manager.SmartLoader);
            }

            return(null);
        }
Beispiel #2
0
        public static SNScriptManager GetSNScriptManager()
        {
            var currentPage = GetPage();

            return(SNScriptManager.GetCurrent(currentPage) as SNScriptManager);
        }