Beispiel #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());
        }
Beispiel #2
0
 public static string MicrosoftAjaxLibraryInclude(this AjaxHelper helper)
 {
     return(ScriptExtensions.ScriptInclude(helper, _microsoftAjaxLibraryUrl));
 }