Panel Web Server Control
in ASP.NET environment,Panel Web Server Control can help you to act this control as a container within the page for other controls. By putting controls into a Panel control, you can control them as a unit — for example, hiding or showing them.
You can also use a Panel control to create a distinct appearance for a group of controls. This article expalains you how to work with the Panel Web server control.
Grouping set of control with Panel Control
You can grouping a list of controls and putting them in a Panel control and then manipulating the Panel control. For example, you can hide or show a group of controls inside a panel by setting the panel's Visible property.
Default Button Property
By using this property,You can perform click event when pressing enter key,You can put TextBox controls and Button controls inside the Panel control and then define a default button by setting the Panel control's DefaultButton property to the ID of a button in the panel. If users press ENTER while typing in a text box inside the panel, it has the same effect as if the user had clicked the specified default button. This can help users work more efficiently with entry forms.
Scrollbars Property
For including scrollbars to the Panel control, set the Height and Width properties to constrain the Panel control to a specific size, and then set the ScrollBars property.Some controls, such as the TreeView control, do not have built-in scrollbars. You can add scrolling behavior by placing the control in a Panel control.