Ok, almost done
Everything is now tied together
When you list a set of customers, you can click a customer, list its details, see the related orders (1:n and m:n related entities) and click those, delete them, edit them, sort, page etc.
Add new on related and list subset has to be implemented, as well as some small issues with m:n related entities and addnew but that's it.
At the moment I have 5(!) pages in the whole app and a set of controls
For northwind it generates at the moment 430KB of asp.net code alone hehe
. As everything is build with controls which are loaded dynamically, it's very flexible and a lot of code is re-used.
I have to say, it was and still is a blast creating this. I hope it's not only useful but also gives insight in how to get started with a UI generated with a bunch of templates.
Stay tuned.
(edit).
screenshots:
viewing customer detail with related entities: Pay attention to the paging area, which works without bothering the rest
sshot1
editing existing order, pay attention to the comboboxes for related entities, which are configurable via custom properties in the designer (not enabled by default, you can enable them)
sshot2
Html validators both for required and values in fields are generated into the HTML, so numeric fields only accept numeric values etc. Not-nullable fields have a different background and a '*' behind them (not visible in the screenshots)
Visually, it's a themed site, so you can change the look/feel