private static string GetListScript() { string message; var templateList = new TemplateInfoCategoryList { ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl) }; string htmlScript = templateList.GetScriptFilled(true, UtilsGeneric.LoadMinJs, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message); return htmlScript; }