I am writing an application where the controls for a page need to be determined from data in a Sql Server table.
For example: I have a PropertyGroups with Properties(Join Table)
I then have categories to Propertygroups, the Properties have a values table, blah blah. Not to get too much in to the DB schema, but I need to assign controls to properties.
Like lets’s say that property Color needs to be a listbox and the items collection is predetermined by the data in the database etc…
What is the most efficient way to render this before the page is loaded? A handler maybe?
I am using Master Pages as well.
And it looks like, you problem can be easily solved with asp.net mvc (just define view and model), or even Dynamic Data.