Beispiel #1
0
        public virtual object CreateInstance()
        {
            TemplateControl control = (TemplateControl)HttpRuntime.FastCreatePublicInstance(this._baseType);

            control.TemplateControlVirtualPath      = base.VirtualPath;
            control.TemplateControlVirtualDirectory = base.VirtualPath.Parent;
            control.SetNoCompileBuildResult(this);
            return(control);
        }