private void ProcessQueryTransactionSummaryResponse(List <SummaryDetail> _SD) { chklstTMSResults.Items.Clear(); //Check for the need of paging if (_SD.Count > _intResultsPerPage - 1) { lblPageNumber.Text = @"Page : " + (_intCurrentPage + 1); lblPageNumber.Visible = true; LnkNext.Visible = true; LnkPrevious.Visible = (_intCurrentPage > 0 ? true : false);//Enable previous on page 2 } else { lblPageNumber.Text = @"Page : " + (_intCurrentPage + 1); LnkNext.Visible = false; //End of the list so disable the Next link LnkPrevious.Visible = (_intCurrentPage > 0 ? true : false); //Enable previous on page 2 } if (_SD.Count > 0) { foreach (SummaryDetail s in _SD) { SummaryDetailVal SDV = new SummaryDetailVal(s); chklstTMSResults.Items.Add(SDV); } } }
private void ProcessQueryTransactionSummaryResponse(List<SummaryDetail> _SD) { chklstTMSResults.Items.Clear(); //Check for the need of paging if (_SD.Count > _intResultsPerPage-1) { lblPageNumber.Text = @"Page : " + (_intCurrentPage+1); lblPageNumber.Visible = true; LnkNext.Visible = true; LnkPrevious.Visible = (_intCurrentPage > 0 ? true : false);//Enable previous on page 2 } else { lblPageNumber.Text = @"Page : " + (_intCurrentPage + 1); LnkNext.Visible = false;//End of the list so disable the Next link LnkPrevious.Visible = (_intCurrentPage > 0 ? true : false);//Enable previous on page 2 } if (_SD.Count > 0) { foreach (SummaryDetail s in _SD) { SummaryDetailVal SDV = new SummaryDetailVal(s); chklstTMSResults.Items.Add(SDV); } } }