WebUserControl reference

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a base page (inherits from System.Web.UI.Page) from which all
my .aspx pages inherit. How can I reference a web-user-control from that
basepage? (e.g. the .aspx page calls a function on the base page
(this.SetSomeText('Hello')), which in turn will call a function in a
web-user-control (wuc.SetText()) if it exists on the page.

Thanks,
C.
 
Yes, I've tried that. If I cast to a Control, I can find the object, but
cannot cast it to the appropriate Web User Control, since I cannot seem to
reference the Web User Control.
 
Back
Top