ASP.NET Tutorial

.NET Framework

ASP.NET Introduction

ASP.NET Web Forms

Standard Controls

Label Control

TextBox Control

Image Control

Button Controls

Redirecting User

Using HyperLinks

RadioButton Control


CheckBox Control

CheckBoxList Control


ListBox Control

ImageMap Control

Event-Driven Programming

ASP.NET Page Structure


Master Page

View State

Visibility of Controls

Formatting Controls

Applying CSS

Dynamic CSS

Using Style Class

Themes and Skins

Panel Control

PlaceHolder Control

AdRotator Control

Calendar Control

File Upload, Virtual Path

Validation Controls

Page Navigation

User Control

Separating Code-Presentation

Overview of ADO.NET

Data Binding

DataBinding List Control

Panel Control in ASP.NET

A Panel control is a container control that can contain other controls. It renders as an HTML <Div> element on the client. The Panel control is useful for manipulating a group of controls together. For instance you can control the visibility of the controls of a panel by controlling the visibility of the panel.

Table lists all the properties of the Panel control. This control has no methods, or events.

Property Description
BackImageURL Gets or sets the URL of a background image to be displayed behind the contents of the panel.
HorizontalAlign Sets horizontal alignment of the panel contents. Possible values are Center, Justify, Left, NotSet, Right.
Wrap When True, wraps the panel contents.

In this example, depending upon the user selection, one of two panels is displayed.