R
Randall Berkeley
Does anyone know of an event that is fired after a
UserControl is created regardless of whether it is visible
or not. I have a data bound UserControl that needs to
populate it's contents when it is loaded at runtime, but
not at design time. If i try to load the data in the
constructor, the DesignMode property is not set so I can't
skip the data loading in the designer. If I handle the
Load event, it doesn't fire when the control is first
created, only after the parent form is hidden, then re-
displayed.
Anyone? Anyone?
UserControl is created regardless of whether it is visible
or not. I have a data bound UserControl that needs to
populate it's contents when it is loaded at runtime, but
not at design time. If i try to load the data in the
constructor, the DesignMode property is not set so I can't
skip the data loading in the designer. If I handle the
Load event, it doesn't fire when the control is first
created, only after the parent form is hidden, then re-
displayed.
Anyone? Anyone?