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...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com