public static SNScriptLoader Current(System.Web.UI.Page page) { var manager = SNScriptManager.GetCurrent(page) as SNScriptManager; if (manager != null) { return(manager.SmartLoader); } return(null); }
public static SNScriptManager GetSNScriptManager() { var currentPage = GetPage(); return(SNScriptManager.GetCurrent(currentPage) as SNScriptManager); }