Inheritance: UserControl
Example #1
0
        public JsonObject GetInfoPageSaveView(long infoPageId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoPageView.GetSaveDetailView(infoPageId, pageNo, itemsPerPage, dataIndex, templateSuffix);

            retMessage.Put("html", htmlText);

            return(retMessage);
        }
Example #2
0
        public JsonObject GetInfoPageFilterListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, bool asyncLoading, long filterInfoCategoryId, string filterInfoPage, bool filterInfoPagePublic, long filterCreatedUserId)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoPageView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, asyncLoading, filterInfoCategoryId, filterInfoPage, filterInfoPagePublic, filterCreatedUserId, false);

            retMessage.Put("html", htmlText);

            return(retMessage);
        }
Example #3
0
        public JsonObject GetInfoPageListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, bool asyncLoading)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoPageView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, asyncLoading, 0, "", false, 0, true);

            retMessage.Put("html", htmlText);

            return(retMessage);
        }
Example #4
0
        public JsonObject GetInfoPageCategoryOptionList(long infoPageId, string templateSuffix)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoPageView.GetInfoPageCategoryOptionList(infoPageId, templateSuffix);

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

            return(retMessage);
        }