T
TR
I am adding a Panel to my page at runtime so:
'//note that P is another container Panel
Dim MyPanel As New System.Web.UI.WebControls.Panel
MyPanel.CssClass = "MYPANEL"
MyPanel.ID = "p100"
P.Controls.Add(MyPanel)
This is emitted as the following HTML (note the white space):
<div id="p100" class="MYPANEL">
</div>
Is there any way to get ASP.NET to emit this without white space?
<div id="p100" class="MYPANEL"></div>
Thanks!
TR
'//note that P is another container Panel
Dim MyPanel As New System.Web.UI.WebControls.Panel
MyPanel.CssClass = "MYPANEL"
MyPanel.ID = "p100"
P.Controls.Add(MyPanel)
This is emitted as the following HTML (note the white space):
<div id="p100" class="MYPANEL">
</div>
Is there any way to get ASP.NET to emit this without white space?
<div id="p100" class="MYPANEL"></div>
Thanks!
TR