There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Same User Control in Multiple Form
I have created a complex shipping form containing multiple user controls.
for Example :
A shipping screen containing Recipient User control, Sender User Control, Ship Detail User Control, Billing User Control.
This was working fine until I tried to use few of the user control in some other form as well.
I am getting error message "Specified element is already the logical child of another element. Disconnect it first"
Since I am using WAF framework so I do not want to manually disconnect and connect parent on code behind.
I believe User control is created to use it in multiple forms but it seems WPF does not allow multiple parents without disconnecting previous parent.
Do any one have any suggestion or came up with this issue ?
Thanks in Advance.