private static string GetListScript()
        {
            string message;
            var templateList = new TemplateInfoDetailList
            {
                ScriptServiceUrl = UtilsGeneric.GetCurrentService(ServiceUrl)
            };

            string htmlScript = templateList.GetScriptFilled(true, UtilsGeneric.LoadMinJs, UtilsGeneric.Validate, UtilsGeneric.ThrowException,
                                                                  out message);
            return htmlScript;
        }
        public static string GetListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, long infoSectionId, bool loadListScript, bool loadList)
        {
            string htmlListScript = "";
            if (loadListScript == true)
            {
                htmlListScript = GetListScript();
            }
            string htmlListDetail = GetListDetailView(pageNo, itemsPerPage, dataIndex, templateSuffix, infoSectionId, loadList);

            string message;
            var templateList = new TemplateInfoDetailList
            {
                ListScript = htmlListScript,
                ListDetail = htmlListDetail,
                InfoSectionId = infoSectionId.ToString()
            };
            string htmlList = templateList.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException,
                                                                  out message);
            return htmlList;
        }