Adding controls dynamically not XHTML formatted

Posted by LiverpoolsNumber9 on Stack Overflow See other posts from Stack Overflow or by LiverpoolsNumber9
Published on 2010-05-25T08:27:29Z Indexed on 2010/05/25 8:31 UTC
Read the original article Hit count: 245

Filed under:
|
|

Hi - I'm adding generic html controls to repeater items at "onitemdatabound". It works absolutely fine but just wondering (or hoping) if there's any way of getting those controls to render on the page in XHTML format?

It's just an annoyance really - my markup is beautifully clean and correctly indented until the repeater!

Using .net 3.5, and C#.

Thanks in advance, Rob

© Stack Overflow or respective owner

Related posts about c#3.0

Related posts about asp.net-3.5