Author: pedroponting | Posted on: 4/21/2009 7:25:08 PM | Views : 269

I have developed a Content Management System for my work. Like most CMSs, it pours HTML stored in a database into a master template, using URL rewriting to create nice, search-engine friendly URLs. Fine. But there are a number of pages in my site which require user controls to be inserted at various places. At the moment, my CMS can't handle this, because it simply sticks the static HTML content into the Master Page container in one fat block. What I want it to do is process the static page for bits of markup which indicate where certain user controls are to be inserted into the page. For example it might have embedded in th HTML page the following code:"{services_table}". I'd like to insert the services_table user control at that point on the page.
Now I know how to generate a user control programmatically, and insert it into an ASP:PlaceHolder tag. But what about this situation, where I don't know in advance what user control I'll need, and I need ...

Go to the complete details ...