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; }
private static string GetSaveScript(string refreshCallback) { string message; var templateSave = new TemplateInfoCategorySave { ScriptRefreshCallback = refreshCallback, ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl) }; string htmlScript = templateSave.GetScriptFilled(true, UtilsGeneric.LoadMinJs, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message); return htmlScript; }
private static string GetSaveScript() { string message; var templateSave = new TemplateDataRefTypeSave { ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl) }; string htmlScript = templateSave.GetScriptFilled(true, UtilsGeneric.LoadMinJs, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message); return(htmlScript); }