To work around this problem, replace the
<asp:Panel></asp:Panel> tags that contain user controls in the .aspx page with
<div></div> tags.
The
<asp:Panel> tag is rendered as an HTML
<div> element. To replace the
<asp:Panel></asp:Panel> tags in the .aspx page with
<div></div> tags:
- Open the Web page that you want to modify.
- At the bottom of the page, click Code.
- On the Edit menu, click Find.
- Click the Replace tab.
- In the Find what box, type <asp:Panel>.
- In the Replace with box, type <div>, and then click Replace. Replace all <asp:Panel> tags that contain a user control.
- In the Find what box, type </asp:Panel>.
- In the Replace with box, type </div>, and then click Replace. Replace all </asp:Panel> tags that contain a user control.
- On the File menu, click Save.