How to use content place holders with dynamic master page
<p>I have written a content system which allows a user to edit pages for a website. When they edit a page they can select a template to use for the page.  All of the content and selections are in a database.</p>

<p>When I display a page, I call just one file (DisplayPage.aspx), passing the page ID.  This uses the page ID to select the chosen template, to display the page.</p>

<p>Each template has it's own set of content placeholders, some are common amongst all the templates and some are unique for that template.  My question is, how can I reference and populate all of the content placeholders for a template, given that the master page is chosen dynamically and the amount / names of the placeholders will be different.</p>
