public static string GetListDetailView(long pageNo, long itemsPerDetail, long dataIndex, string templateSuffix, long infoSectionId, bool loadList)
{
string htmlListAllItem = "";
if (loadList == true)
{
htmlListAllItem = GetListAllItemView(pageNo, itemsPerDetail, dataIndex, templateSuffix, infoSectionId);
}
string message;
var templateListDetail = new TemplateInfoDetailListDetail
{
ListItem = htmlListAllItem,
InfoSectionId = infoSectionId.ToString()
};
string htmlListDetail = templateListDetail.GetFilled(templateSuffix, UtilsGeneric.Validate,
UtilsGeneric.ThrowException, out message);
return htmlListDetail;
}