C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






PlaceHolder vs. Panel


Posted Date: 10 Mar 2008    Resource Type: Articles    Category: .NET Framework

Posted By: idris gani       Member Level: Gold
Rating:     Points: 7



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




Responses

Author: Pinky shah    30 Sep 2008Member Level: Bronze   Points : 0
Ya its a nice article..........


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: .NET Architecture Details
Previous Resource: ASP.NET Session
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

accuconference

Contact Us    Privacy Policy    Terms Of Use