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;
}