Created
September 3, 2013 17:03
-
-
Save kmlprtsng/6426604 to your computer and use it in GitHub Desktop.
Register namespaces and controls for web pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Register TagPrefix="scott" TagName="footer" Src="Controls/Footer.ascx" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.web> | |
<pages> | |
<namespaces> | |
<add namespace="System.IO" /> | |
<add namespace="ProjectName.Classes" /> | |
</namespaces> | |
<controls> | |
<add assembly="ProjectName" namespace="ProjectName.Controls" TagPrefix="PN" /> | |
<add tagPrefix="scottgu" src="~/Controls/Header.ascx" tagName="header"/> | |
</controls> | |
</pages> | |
</system.web> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment