Conflicting errors using Register directive

T

Tim Burkart

Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET
Version:2.0.50727.1433

I get conflicting, and contradictory parser error messages using the
Register directive. I need to specify namespace to use the control in my
namespace. How do I get around this?

Thank you!
Tim


Parser Error Message: The directive is missing a 'tagname' attribute.

<%@ Register TagPrefix="CVG" Namespace="cargovango"
Src="/controls/featuredVehicle.ascx" Assembly="featuredVehicle"%>

Parser Error Message: The 'namespace' attribute is not supported on
this directive when a 'tagname' attribute is present.

<%@ Register TagPrefix="CVG" TagName="feature" Namespace="cargovango"
Src="/controls/featuredVehicle.ascx" Assembly="featuredVehicle"%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top