Whenever you insert one page into another, the potential for control name collisions exists.
For example, if your starting page contains a button control named button_top
and the page you are inserting also sports a control named button_top
, after the import operation, there will be two button controls associated with the startingpage
that have the same name – button_top
. Since duplicate control names are now allowed within the context of the same page, this causes a problem.
To avoid this problem, the inserted page should have its own <form>
tag with a unique name to prevent name collisions with input values in the page.
Parent topic: Inserted Page builder: wpf7