示例#1
0
        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);
        }
示例#2
0
        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);
        }