What is the difference between Panel and GroupBox classes in .NET?

 Posted by Tripati_tutu on 12/21/2010 | Category: ASP.NET Interview questions | Views: 6510 | Points: 40
Answer:

The both classes that is Panel and GroupBox can be used as a container for other controls such as check box control, radio button control etc. But the difference between these two classes is
• In case of Panel class captions cannot be displayed i.e. we can’t set caption but in GroupBox class captions can be displayed.
• The Panel class can have scroll bars but GroupBox class cannot have scroll bar.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response