i'd like to put a webbrowser twice in a grid twice in a wp app, but i got the exception:Element is already the child of another element. how can i solve this problem? PS: i need two webbrowsers show at the same time, but i only need interact with one of them every time.
Asked
Active
Viewed 443 times
0
-
create a second instance of the control you wanna add – blindmeis Apr 11 '12 at 06:32
2 Answers
2
You cannot add the same visual in two places, but you can create a visual brush from your "original" visual and display that elsewhere. You can have many "read-only" views into the WebBrowser, but only one interactive one.
Otherwise, you'll need 2 controls, each of which would be independent.

Jay
- 56,361
- 10
- 99
- 123
-
thx, could you give me some links on how to create a visual brush or make "read-only" views into the webbrowser? – user1325558 Apr 11 '12 at 07:33
0
Create a second WebBrowser control.
A single control cannot be added twice as the error says.

Shahar Prish
- 4,838
- 3
- 26
- 47