Пример #1
0
        public static string ToolkitInclude(this AjaxHelper helper, params string[] fileName)
        {
            var sb = new StringBuilder();

            foreach (string item in fileName)
            {
                var fullUrl = _toolkitFolderUrl + item;
                sb.AppendLine(ScriptExtensions.ScriptInclude(helper, fullUrl));
            }
            return(sb.ToString());
        }
Пример #2
0
 public static string MicrosoftAjaxLibraryInclude(this AjaxHelper helper)
 {
     return(ScriptExtensions.ScriptInclude(helper, _microsoftAjaxLibraryUrl));
 }