I have the following three classes:
MyControl : System.Web.UI.WebControls.WebControl
MyChildObject
and
MyChildCollection : CollectionBase
MyControl has a public property, ChildCollection, of type MyChildCollection
which holds objects of type MyChildObject. MyChildObject has a public
property, URL, which needs to hold a URL string that is preferably, but not
necessarily, relative to the page that hosts MyControl.
In order to create a UrlEditor for MyChildObject within the collection, I
need to have an ISite or IComponent.
Does anyone have any good instructions or examples on how to get the Site,
using my example names, from MyControl, through MyChildCollection, and into
MyChildObject?
Dale Preston
MCAD, MCDBA, MCSE