Esempio n. 1
0
        public JsonObject GetInfoCategorySaveView(long infoCategoryId, long pageNo, long itemsPerPage, int dataIndex, string templateSuffix, bool hideDisplay)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoCategoryView.GetSaveDetailView(infoCategoryId, pageNo, itemsPerPage, dataIndex, templateSuffix, hideDisplay);

            retMessage.Put("html", htmlText);

            return(retMessage);
        }
Esempio n. 2
0
        public JsonObject GetInfoCategoryListView(long pageNo, long itemsPerPage, int dataIndex, string templateSuffix, bool hideDisplay)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoCategoryView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, hideDisplay);

            if (string.IsNullOrEmpty(htmlText) == true)
            {
                htmlText = " ";
            }
            retMessage.Put("html", htmlText);

            return(retMessage);
        }