.NETGURU
Annoying Message - TagPefix is not registered
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngbeta' list.


Dick Haynes
Does anybody know how to get rid of this message?

I put a custom control into a (consuming) .aspx page like this:

------------------------------
<%@ Register tagPrefix="MB" Namespace="Dick.Utils" %>
<MB:SomeFunction runat="server" id="XXX"> Click Me! </MB:SomeFunction>
------------------------------

Then I keep on getting the following message -
------This control cannot be added because its tagprefix is not registered
in this Webform. Add a
register to the page for TagPrefix="MB"-----

Well, as far as I can see, I have added a register to the page for TagPrefix
= "MB"

Can anybody help?
Dick

Reply to this message...
 
    
Jeffrey Widmer
Also add the assembly attribute:
<%@ Register tagPrefix="MB" Namespace="Dick.Utils" Assembly="DickAssembly"
%>

Hope this helps,
-Jeff

-----Original Message-----
From: Dick Haynes [mailto:Click here to reveal e-mail address]
Sent: Wednesday, May 09, 2001 8:42 AM
To: aspngbeta
Subject: [aspngbeta] Annoying Message - TagPefix is not registered

Does anybody know how to get rid of this message?

I put a custom control into a (consuming) .aspx page like this:

------------------------------
<%@ Register tagPrefix="MB" Namespace="Dick.Utils" %>
<MB:SomeFunction runat="server" id="XXX"> Click Me! </MB:SomeFunction>
------------------------------

Then I keep on getting the following message -
------This control cannot be added because its tagprefix is not registered
in this Webform. Add a
register to the page for TagPrefix="MB"-----

Well, as far as I can see, I have added a register to the page for TagPrefix
= "MB"

Can anybody help?
Dick

| [aspngbeta] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngbeta.asp = JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification