<p>Files:</p>

<p>Website\Controls\map.ascx</p>

<p>Website\App_Code\map.cs</p>

<p>I'd like to create a strongly typed instance of map.ascx in map.cs</p>

<p>Normally, in an aspx, you would add a &lt;%Register... tag to be able to instantiate in codebehind. Is this possible in an app_code class?
I'm using .NET 3.5/Visual Studio 2008</p>

<p>Thanks!</p>

Normally, I'd do something like this (assuming your type is "Map" and that you have the appropriate "Inherits" declaration in your .ascx file):
```
```
Map map = (Map)LoadControl("~/Controls/map.ascx");
```
```