I would like to ask for your help on How to do Lazy Loading on a panel on a TileView control
Each Patient many Visits to the Doctor, Diagnosis, Exams, Prescriptions, etc
I want to have a Title View to show his/her Patient info, then another panel with the visits to the doctor, then another, with the diagnosis, exams, prescriptions, medical history, reactions, and so on.
Because there are so many relational data in each panel, i need to lazy load each panel whenever the end user clicks on that panel. On the Domain Service I could call different query if necessary, to call a new Query on the DomainServices in which i only Include the needed Relationship to the Patient Entity
I can load all the page with all the panels and their relationships, unfortunately this has two problems
1-it gets all of my customers by using the Ria Services Get_PatientsQuery, which is fine with few data, but it will be too slow when data grow.
2-When the page that contains the TileView Panel Host is opened, all of its panels are also loaded and showed, (as expected) which takes a long time to load (the way Ria Services works) , and becomes too slow for the end user to operate.
How can Lazy Load each panel
Is very odd to me that none has asked for this on the past, because is very necessary on a Business Application
Lazy Loading a panel will be the perfect companion for the following great and awesome post