Hi,
here is an information for readers of this thread:
You will need to create a custom
form control to achieve your goal. This form control will be used in child widgets.
The scenario is following:
On a root document (or some other parent document) you can insert a widget into the editor zone widget zone (please do not use user or group widget). Insert your parent widget in the Design tab.
Now in the code of your form control you can access properties of the parent widget using following code and set it as a default value in your child widget:
PageInfo pi = PageInfoProvider.GetPageInfo("CorporateSite","/","en-us","",false,ConnectionHelper.ContextConnection);
PageTemplateInfo pt = pi.PageTemplateInfo;
WebPartZoneInstance wpzi = pt.GetZone("zoneLogo");
// this array list contains all webparts (widgets) from selected zone
ArrayList al = wpzi.WebParts;
Best regards,
Ivana Tomanickova