/// <summary> /// Set Output /// </summary> protected void SetOutput() { ContentAPI contentApi = new ContentAPI(); Criteria<ContentProperty> criteria = new Criteria<ContentProperty>(); if (DaysLimit != 0) criteria.AddFilter(ContentProperty.DateModified, CriteriaFilterOperator.GreaterThanOrEqualTo, DateTime.Now.AddDays(-DaysLimit)); criteria.AddFilter(ContentProperty.Type, CriteriaFilterOperator.NotEqualTo, "1111"); criteria.AddFilter(ContentProperty.FolderName, CriteriaFilterOperator.NotEqualTo, "Workspace"); criteria.AddFilter(ContentProperty.FolderName, CriteriaFilterOperator.NotEqualTo, "_meta_"); criteria.AddFilter(ContentProperty.Status, CriteriaFilterOperator.EqualTo, "A"); if (ItemLimit > 0) { PagingInfo _pageInfo = new PagingInfo(ItemLimit); criteria.PagingInfo = _pageInfo; } contentList = contentApi.GetList(criteria); if (contentList.Count > 0) { LoadData(); grdData.Style.Add("display", "table"); } else { ltrlNoRecords.Text = GetMessage("lbl no records"); } //Set Title string title = ""; if (ItemLimit > PageSize) title = "Content Edited (" + grdData.Items.Count.ToString() + ")"; else title = "Content Edited (" + GetCountText(grdData.Items.Count) + ")"; SetTitle(title); //ltrlViewAll.Text = GetMessage("lbl view all") + " (" + GetCountText(grdData.Items.Count) + ")"; //lnkViewAll.OnClientClick = "top.showContentInWorkarea('" + EkFunctions.UrlEncode("reports.aspx?action=viewsubmitted") + "', 'Reports')"; }