protected void caseComments_RefreshData(int cId) { //GEtting the filter from the page string filter = string.Empty; int totalCount = 1; //Fetching the corresponding list //in this test will take a list of News CaseCommentsListRequest req = new CaseCommentsListRequest(); req.caseId = cId; ListResponse <CaseComment> notes = _caseService.ChildGetAll <CaseComment>(req); if (!notes.Success) { // X.Msg.Alert(Resources.Common.Error, notes.Summary).Show(); } this.caseCommentStore.DataSource = notes.Items; this.caseCommentStore.DataBind(); }