Beispiel #1
0
        private static string GetSaveScript()
        {
            string message;
            var templateSave = new TemplateDataTypeSave
            {
                ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl)
            };

            string htmlScript = templateSave.GetScriptFilled(true, UtilsGeneric.LoadMinJs, UtilsGeneric.Validate, UtilsGeneric.ThrowException,
                                                                  out message);
            return htmlScript;
        }
Beispiel #2
0
        public static string GetSaveView(long dataTypeId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix)
        {
            string htmlSaveScript = GetSaveScript();
            string htmlSaveDetail = ""; //GetSaveDetailView(dataTypeId, pageNo, itemsPerPage, dataIndex, templateSuffix);

            string message;
            var templateSave = new TemplateDataTypeSave
            {
                SaveScript = htmlSaveScript,
                SaveDetail = htmlSaveDetail
            };
            string htmlSave = templateSave.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException,
                                                                  out message);
          
            return htmlSave;
        }