views:

20

answers:

0

Exactly as the title suggests. When I click a button on my webpage it should display a asp .net panel control that was previously hidden. The error I get is

Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)

The KB Article points to a few things but most notibly "This problem occurs because a child container HTML element contains script that tries to modify the parent container element of the child container. The script tries to modify the parent container element by using either the innerHTML method or the appendChild method."

Of course making a panel visible does inject html into the body of the document that is removed when it is made invisible so I can see how I may be causing the problem outlined in the kb article.

Any suggestions?