Files:
Website\\Controls\\map.ascx
Website\\App_Code\\map.cs
I\'d like to create a strongly typed instance of map.ascx in map.cs
Normally, in
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");