public static string GetListView(long infoCategoryId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix) { string htmlListScript = GetListScript(); string htmlListDetail = GetListDetailView(pageNo, itemsPerPage, dataIndex, templateSuffix, false); string message; var templateList = new TemplateInfoCategoryList { ListScript = htmlListScript, ListDetail = htmlListDetail, DataIndex = dataIndex.ToString("N0", CultureInfo.InvariantCulture) }; string htmlList = templateList.GetFilled(templateSuffix, UtilsGeneric.Validate, UtilsGeneric.ThrowException, out message); return htmlList; }