Thursday, March 22, 2012

TagPrefix Defined Globally...?

Hi all,

I have the following register tag for my custom controls on each of my ASPX pages:


<%@dotnet.itags.org. Register TagPrefix="MY" Namespace="MY.Presentation" Assembly="MY.Presentation"%>
Is it possible to make this decleartion globally, say in global.asa or web.config?

Or is it required that each page defines it individually?

Has anyone come across an elgeant solution for doing this? I'm using <!-- Include --> at the moment but surely theres a way of avoiding this?

Any help would be very much appreciated.

Thanks in advance.

SarahThere is no other solution at the moment -- this will be addressed in v2.0 (Whidbey).

0 comments:

Post a Comment