change asp.net panel rendered tag from div to span
<p>I have an <code>&lt;asp:Panel&gt;</code> inside an <code>li</code>, so the problem is the html will not validate.</p>

<p>Any help in changing the rendered <code>div</code> to a <code>span</code>?</p>

<p>I'm doing this in a ASP.NET 4.0 website using c# code.</p>
