I have a form that displays payments by members. These payments can be dues, initiation, or PAC. When the form displays, I retrieve all the payment records and populate an observablecollection which populates a grid displaying the payments. On the form is a checkbox whether the user wants to see the PAC payments along with the dues and initiation. By default, the check box is turned off meaning they only want to see dues and initiation. if they click the checkbox, then they want to see all 3. I don't want to make 2 trips to the server for the data. I want to retrieve all the payments for a member the first time and only display certain payments depending on the checkbox.
What is the best way to handle this?
Bill