I get a XML dataset with data. I loop the data and put every line in a custom made UI control, that I put in a stackpanel within a PivotItem of Panorama. As I switch between PivotItems, depending on the case I have to fill the StackPanels with different
number of my custom controls. On every control (which represents a grid and labels on in) I attach a Tap event. When I tap the event of a control and there are too many of them in the StackPanel the app crashes and tells me out of memory. Any ideas?
↧