N
Nathan Sokalski
My Web.config file contains the following section to register some of my
UserControls:
<pages>
<controls>
<add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/>
<add tagPrefix="NATE" tagName="Navigation" src="~/Navigation.ascx"/>
</controls>
</pages>
However, I still receive the following error:
Element 'Banner' is not a known element. This can occur if there is a
compilation error in the Web site.
Element 'Navigation' is not a known element. This can occur if there is a
compilation error in the Web site.
I have tried compiling, and this is the only error I receive. Is there
something I am forgetting to do? Is there something wrong with my Web.config
file? Thanks.
UserControls:
<pages>
<controls>
<add tagPrefix="NATE" tagName="Banner" src="~/Banner.ascx"/>
<add tagPrefix="NATE" tagName="Navigation" src="~/Navigation.ascx"/>
</controls>
</pages>
However, I still receive the following error:
Element 'Banner' is not a known element. This can occur if there is a
compilation error in the Web site.
Element 'Navigation' is not a known element. This can occur if there is a
compilation error in the Web site.
I have tried compiling, and this is the only error I receive. Is there
something I am forgetting to do? Is there something wrong with my Web.config
file? Thanks.