13.07.2015 Views

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

ASP.NET 3.5: A Beginner's Guide - www.mustafaof.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Standard Web Controls 157Figure 6-18 Display objects within Panel web controlPanelWhen using multiple display web controls, you may wish to place them within a Panelweb control container. Any elements within the Panel take on the properties set in thepanel. The individual settings of the web controls override the Panel control’s settings,but if undefined, they will take on the characteristics of the Panel. For styling a group ofweb controls, this can be very handy. Rather than setting the values for the different webcontrols, all of the controls can automatically be styled by the Panel web control’s setting.For example, in the following tag, you can see that the font color will be red(ForeColor), and the font will be Arial rather than the serif default.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!