Using Panel or PlaceHolder

asp.netpanelplaceholder

What is the difference between <asp:Panel > and <asp:PlaceHolder > in ASP.NET?

When should you use one over the other?

Best Answer

A panel expands to a span (or a div), with it's content within it. A placeholder is just that, a placeholder that's replaced by whatever you put in it.