I've been trying for weeks to figure out how to achieve this.
Scenario:
I have a custom DNN module I've created. It retrieves/displays information from a database (it's MLS data for Real Estate Agents). The data is always the same, there are only so many fields in the db and they will all be displayed.
However, I have many sites all pulling from this same data. And, guess what, I want to display in a fashion that 'fits' in their look at and feel (skin, theme, etc, for DNN that would be skin).
What is the best approach to display my .ascx files at runtime in a different look/feel based on the portal the browser (person browsing, not browser specific) is on at the time?
The bottom line, I've created a bunch of .ascx files in my module that are turned on/off depending on what the user is doing (entering search criteria, view results from that search, drilling down to the details of the results). I have all this working great but the different criteria/results/details display .ascx's all have to come from the /DesktopModules/'MyModule' directory. I need to to import the different .ascx's or morph/alter these programmatically (at the time of use) in a way that fits the unlimited skins that might be custom designed for any individual client of mine.
Thank you.
Barrett