F23 PROG1322 14.3 Master/Detail Pages using Bootstrap Tabs

Опубликовано: 20 Апрель 2026
на канале: David Stovell
215
2

For Master/Detail pages, different approaches are required depending on the circumstances. Sometimes the focus is just on showing MULTIPLE lists of data related to the Master, without the need to Sort/Filter or Page the detail records.
Of course, the lists of detail records should be sorted, but sometimes that is enough.
With this approach, we use partial views that each shows information related to the main record.
Each partial view will be loaded on demand into a Bootstrap "Tab" control, like we did for managing multiple lookup values.
This way we do not load data until it is asked for and it is refreshed whenever we switch tabs so it will always be up to date.

Note that we had an error due to code we added for testing earlier, which I forgot to remove! Oh well... live and learn.