Reputation: 1041
I am pretty new to ASP.NET and C# and am beginning to take over a large project from a previous developer. I've encountered an ASP.NET tag that I cannot find any documentation about through searching online and the previous developer is unavailable for questions.
Does anyone recognize this "blac" tag? It's used in these two ways in the project I'm working with:
<blac:PriorityLabel>
<blac:DBDataSource>
I'm not sure why the tag is "blac:" and not "asp:".
Any guidance is appreciated.
Upvotes: 2
Views: 82
Reputation: 18387
It's a alias to a user control. For example:
<%@ Register TagPrefix="scott" TagName="header" Src="Controls/Header.ascx" %>
<%@ Register TagPrefix="scott" TagName="footer" Src="Controls/Footer.ascx" %>
<%@ Register TagPrefix="ControlVendor" Assembly="ControlVendor" %>
<html>
<body>
<form id="form1" runat="server">
<scott:header ID="MyHeader" runat="server" />
</form>
</body>
</html>
Upvotes: 3