Using Panel or PlaceHolder
问题 What is the difference between <asp:Panel > and <asp:PlaceHolder > in ASP.NET? When should you use one over the other? 回答1: 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. 回答2: The Placeholder does not render any tags for itself, so it is great for grouping content without the overhead of outer HTML tags. The Panel does have outer HTML tags but does have some cool extra properties.