Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
        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);
        }