if (t != null)
return t;
else if (prefix != "")
- throw new Exception ("TagPrefix " + prefix + " not registered");
+ throw new Exception ("Unknown server tag '" + tagName + "'");
return LookupHtmlControls (tagName, attribs);
}
internal AspComponentFoundry Foundry {
get { return foundry; }
+ set {
+ if (value is AspComponentFoundry)
+ foundry = value;
+ }
}
#if NET_2_0
// FIXME: it's empty (but not null) when using the new default ctor