W
Welman Jordan
I have developed several assemblies for my own site.
They are in different namespaces, e.g.
MySite.Web;
MySite.Web.UI;
MySite.Web.UI.HtmlControls;
MySite.Web.UI.WebControls;
I would like to do this:
In an aspx page, I can use one prefix for those three namespaces.
<mysite:TextBox runat="server">
<mysite:HtmlTextBox runat="server">
The textbox class belongs to the MySite.Web.UI.HtmlControls
namespace, however, the HtmlTextBox belogs to the
MySite.Web.UI.WebControls namespace.
I don't know how to write the directives in the aspx file.
Using <%@ Register ... %> does not work.
Any way?
They are in different namespaces, e.g.
MySite.Web;
MySite.Web.UI;
MySite.Web.UI.HtmlControls;
MySite.Web.UI.WebControls;
I would like to do this:
In an aspx page, I can use one prefix for those three namespaces.
<mysite:TextBox runat="server">
<mysite:HtmlTextBox runat="server">
The textbox class belongs to the MySite.Web.UI.HtmlControls
namespace, however, the HtmlTextBox belogs to the
MySite.Web.UI.WebControls namespace.
I don't know how to write the directives in the aspx file.
Using <%@ Register ... %> does not work.
Any way?