How can I prevent elements from showing up in design view of Visual Studio but I still want them to show up on the site.
For example: I have a div of a site navigation menu. The menus are using javascript to pop-open (for ex: you hover over FILE and the File Menu pops open). In design view, the entire menu is displayed on the screen - covering most of my screen making it virtually impossible to do anything in design view of visual studio. Is there a way I can hide that div from appearing in Visual Studio while still keeping it part of my site.
I even tried putting it in a panel visible="false" and change it to true in code but "invisible" panels still appear in design view.
Any input would be greatly appreciated. Thanks.