
Parent UserControl's Properties in a UserControl (placed on another UserControl)
When you place a usercontrol on a usercontrol
(instead of a form), in the childUsercontrol's code,
Parent.<Anyproperty>
or even
Extender.Parent.<AnyProperty>
bombs out.
"no such property or method".
But the BEST part is on the de{*filter*} watch window
when you type Parent, you can see all of its
property under it with correct Values. For example
say Name, Controls etc. But when you type
Parent.<theProperty> (e.g. Parent.Name) it says
boms.
If the usercontrol is on a form the Parent.Name
returns the form's Name . But bombs instead of
returning the parentusercontrol's name when you
place the same control on another usercontrol.
SOS!!! Any ideas? Please Save my life?
Sujata.