I have a using statement defined like this in codebehind:
using Name = Extremely.Long.And.Unwieldy.Namespace
I want to be able to do this in my aspx page:
<%=Name.Type %>
So far the best I have come up with is this:
<%=Namespace.Type %>
using the technique shown here.
Can I do any better?
Try this:
<%@ Import Namespace="Name=Extremely.Long.And.Unwieldy.Namespace" %>
I found a reference to being able to use the import tag for namespace aliasing.
<%@ Import Namespace="myAlias=System.MyNamespace" %>