public JsonObject GetInfoSectionSaveView(long infoSectionId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, long infoPageId) { JsonObject retMessage = new JsonObject(); string htmlText = InfoSectionView.GetSaveDetailView(infoSectionId, pageNo, itemsPerPage, dataIndex, templateSuffix, infoPageId); retMessage.Put("html", htmlText); return(retMessage); }
public JsonObject GetInfoSectionListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, bool asyncLoading, long infoPageId) { JsonObject retMessage = new JsonObject(); string htmlText = InfoSectionView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, infoPageId, asyncLoading); if (string.IsNullOrEmpty(htmlText) == true) { htmlText = " "; } retMessage.Put("html", htmlText); return(retMessage); }