the Page class does not support databind, so your control has to be
contained in one that does, Repeater, GridView, FormView, etc. then in
the codebehind, you need to call DataBind() on the parent control.
a better approach then using a databinding expression when you are not
using databind, would be to re-engineer MyParent to MyParentID. then you
would just set the parent name in the aspx. in the control code recurse
thru control.Parent.FindControl(parentName) to get the actual control.
if you just want the Page (this), every control has a Page property that
is the Page.
-- bruce (sqlwork.com)
> I neeed to instantiate an UserControl in an aspx page like this:
>
[quoted text clipped - 15 lines]
> solution to this.
> Please, help!