private static string GetSaveScript()
        {
            string message;
            var templateSave = new TemplateInfoPageSave
            {
                ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl)
            };

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

            string message;
            bool hideDisplay = true;
            var templateSave = new TemplateInfoPageSave
            {
                DataIndex = dataIndex.ToString(),
                SaveScript = htmlSaveScript,
                SaveDetail = htmlSaveDetail,
                SaveViewHidden = hideDisplay,
            };
            string htmlSave = templateSave.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException,
                                                                  out message);

            return htmlSave;
        }