Functionality-wise, both server controls are generally the same. They both act as containers, separating other server controls, etc., into logical sections. However, the Panel has a bit more overhead. A panel has most of the display/decoration/style capabilities of the other server controls (border style/width/color, BackColor, Font, CssClass, etc). The PlaceHolder control doesn't have most of those capabilities. It's major function is to act as a container for other tags/server controls. So, if you just want a container, without all the Display properties, use a PlaceHolder. If you want to use it to separate controls visually, then, the Panel is the control for you
|
| Author: Pinky shah 30 Sep 2008 | Member Level: Bronze Points : 0 |
Ya its a nice article..........
|