.. way, but the only thing I could get to work for me, was:<BR><BR>Declare it like so:<BR>Protected myUserControl As Object<BR><BR>And then, you can set it's properties/methods just like any other control.
Oh, yeah. You should declare it like:<BR><BR>Protected WithEvents MyUCInstanceName as MyUCClassName<BR><BR>That way you aren't doing latebinding, plus if you use VS all the correct properties are available. I didn't really pay attention to what you were declaring it as.<BR><BR>
I always code it like this... in the page load or wherever i need it... but maybe i will do the protected way, seems easier.<BR><BR>Dim ucHeader As DisplayHeader = CType(Me.FindControl("ucHeader"), DisplayHeader)