Simple question, difficult to search for (due to the main part of the question being the single letter p
)!
In ASP.NET, <asp:Panel/>
is rendered as a <div></div>
block, <asp:Label/>
is rendered as a <span></span>
block... is there one that renders as <p></p>
block?
It doesn't look like it from MSDN for the WebControl class, but I thought I would ask in case I've missed something obvious.
(I realise the obvious solution is to just use <p runat="server" id="p1"></p>
and use the generic html control class)
doh
moment as somebody pointed me at the all-too-obvious class that I'd missed. Once I get my 6 months off to do whatever work I want to do myself, I'll get around to creating one</dream>
;-) – Lucifer