M
Martin Eyles
Hi,
I have a routine that uses
System.Web.UI.HtmlControls.HtmlGenericControl.Controls.Add
quite a lot to add <v:line>, <v:rect> and <div> tags to a document.
Unfortunately, the output HTML markup is VERY messy, as all the tags and
their contents end up on the same line. Is there a way to make it so that
the output is nicely indented, and each tag is on a new line?
(ie. looks like a bit like this)
<div>
<v:line ......>
</v:line>
<v:rect ......>
</v:rect>
<div>
£-83
</div>
</div>
Thanks,
Martin
I have a routine that uses
System.Web.UI.HtmlControls.HtmlGenericControl.Controls.Add
quite a lot to add <v:line>, <v:rect> and <div> tags to a document.
Unfortunately, the output HTML markup is VERY messy, as all the tags and
their contents end up on the same line. Is there a way to make it so that
the output is nicely indented, and each tag is on a new line?
(ie. looks like a bit like this)
<div>
<v:line ......>
</v:line>
<v:rect ......>
</v:rect>
<div>
£-83
</div>
</div>
Thanks,
Martin