I'm loading up at usercontrol on my webform like so:

VB Code:
  1. Dim aSkin as Control = nothing
  2. aSkin = LoadControl(("/Themes/default/Skins/default.ascx"))

I have defined a public property in this usercontrol, default.ascx, called bgColor.

My problem is that once i've loaded this control, the properties of aSkin are just the default properties of a control. The public property that i've defined is not exposed during design time, it is only exposed at run time.

I want to access the value of this bgColor property at design time. How would I do this?

Any takers?

Patch