Duration: 25 minutes
Summary: In this video, we are going to discuss panels. A Panel is a good way of grouping information for large forms. We can divide a large form (like an insurance form) into meaningful pieces. We can have control over the properties of the panel (for example by setting the “GroupingText” property, the panel will display as a legend with the title of the panel in the top left corner. In our example, we will create couple of panels: one for the personal information and one for the “Other” information. Every panel will have some properties and contain the necessary input fields for the user to fill out. We can add a default button with the panel so we can trigger the necessary button when the user hits the enter key. The panels we are creating are originally hidden from the user. When the user clicks the button, the associated panel will show. This is a good way of removing the clutter from a large form. We only display the critical information and let the user show/hide the rest.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010Keyword: ASP.NET 4, Visual Studio 2010, Panel, TextBox, Label, Legend, Default Button, Grouping Text, Visible, AssociatedControlId.