﻿# Simulating #Include with a  server control...

<datetime class="hidden">2004-03-16T00:00</datetime>
<!-- category -- mostlylucidcouk, Imported, ASP.NET, C# -->

I had been planning to implement something similar to [this](http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-simulatinginclude.asp)...with a 'twist'. Namely, I plan to do one which accepts multiple rexexp / replacement value pairs, allowing each page to specify it's use of the 'include'. This is mainly so I can share includes between ASP and ASP.NET, allowing me to replace the &lt;%=Content%&gt;ASP tags with content supplied by the ASP.NET page..get round to it some time :-)