When to use Panel or Placeholder Controls??

S

SortaNorth

I'm trying to determine when it is appropriate to use a placeholder control
as opposed to a panel control. With all the documentation I have seen they
sound like they do the same thing. One text describes the placeholder as
allowing you to add controls dynamically and the next example it gives uses
the panel to add controls dynamically. How do I know when to use which most
effectively?

Thanks for any insights here!

Dick
 
T

Teemu Keiski

Hi,

Difference is that PlaceHolder is replaced by the added controls and there's
no indication in rendering that those controls are inside a PlaceHolder but
with Panel they appear inside <DIV> element (Panel is rendered as <DIV>).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top