&nbsp; is inserted when user control is not visible in ASP.NET
<p>I have a problem I have no idea how to solve. I have a user control wrapped inside update panel which works fine, but when I set <code>userControl.Visible = false</code> AJAX response containts <code>&amp;nbsp;</code>  which generates empty lines in IE 7 and 6. As you can imagine this accupy a lot of space when I have 30 hidden user controls. What should I do to prevent &nbsp; to be sent with response?</p>
