<p>I'm making a webform using a <code>LoginView</code>, the problem is that because the control includes a grey bar telling you what type of control it is it throws of correctly formatting the page (it has <code>LoginView1</code> at the top).</p>

<p>Is there a way to hide this on the <code>LoginView</code> as the <code>contentPlaceholder</code> does an excellent job for this.</p>

<p>I've found that you can remove the ID, but that seems like a hack as it stops programatic access</p>

[{'answer_id': 7879, 'author': 'DannySmurf', 'author_id': 1028, 'author_profile': 'https://Stackoverflow.com/users/1028', 'pm_score': 0, 'selected': False, 'text': "<p>I don't know that there is a property to control this (can't find one on MSDN), but I'd think you could just iterate through the Controls property of the LoginView and hide that panel/label/whatever.</p>\n"}, {'answer_id': 8327, 'author': 'Dhaust', 'author_id': 242, 'author_profile': 'https://Stackoverflow.com/users/242', 'pm_score': 2, 'selected': False, 'text': "<p>I may have misunderstood your question but....    </p>\n\n<p>The 'grey bar telling you what type of control it is' only shows up if you are looking at the page in 'design view' in your IDE (are you using Visual Studio?).<br>\nOnce you run the page this label is not visible.   </p>\n\n<p>It is very common for pages that have dynamic/server-side content to 'not look right' when you are looking at them in 'design view'.   </p>\n\n<p>Little things like the label/grey bar you are talking about are just there to help you work on the page when it is not populated with the dynamic content.    </p>\n\n<p>As a result of this, I find that 99.9% of the time I use 'source view' in my IDE because as your page content becomes more dynamic, the 'design view' becomes more useless.</p>\n"}]
['https://Stackoverflow.com/questions/7873', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']