[Mono-list] ASP .NET bug?

Gonzalo Paniagua Javier gonzalo@ximian.com
Sun, 25 Apr 2004 14:01:53 +0200


El sáb, 24-04-2004 a las 20:45, Pedro Santos escribió:
> I do not know if this is a bug, or simply something not suported. I
> have:
> 
> <%@ Register TagPrefix="orion" Namespace="Alnitak" Assembly="Alnitak" %>
> <%@ Register TagPrefix="orion" TagName="LoginControl"
> Src="../controls/LoginControl.ascx" %>
> 
> Notice that they both have the same TagPrefix. When I use on the page
> <orion:LoginControl runat="server" />, this control is not rendered.
> 
> If I change the TagPrefix to a diferent one, it is rendered.

Don't remember exactly this case, but the second one overrides the first
one. You can even override the 'asp' prefix for regular webcontrols.

-Gonzalo