SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 228 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

asp.net along with documentation and instructional videos. You can also
obtain the latest source code on CodePlex.com, Microsoft??™s open source project depository.
In this chapter, we will continue going over some of the remaining controls in the
toolkit and how they can be applied in ASP.NET web applications.
DropShadow and RoundedCorners Extenders
The DropShadow and RoundedCorners extenders are similar in that they both offer visual
enhancements to panels and other controls, particularly curved corners. First, let??™s
examine the DropShadow extender.
DropShadow Extender
The DropShadow extender enables you to enhance the appearance of panels by adding
curved corners and background shadow to the panel control. Typically, this is done by
using images for the curved corners and CSS styling, among other things, for the shadow
effect. The DropShadow extender allows you to easily add such effects to any panel with a
number of parameters to tweak the appearance of these effects (see Table 8-1).
165
C H A P T E R 8
Table 8-1. DropShadow Extender Properties
Property Name Description
BehaviorID ID of the client-side Behavior (used for custom DOM behaviors) to be
applied to the target panel
Opacity Opacity of the DropShadow extender (ranges from 0 to 1 on a percentage
point basis)
Radius Radius of the curved corners of the panel bar (in pixels)
Rounded Boolean value indicating whether or not to round the corners of the
panel
TargetControlID ID of the target control to which the DropShadow extender will be
applied
TrackPosition Boolean value indicating whether or not the drop shadow will track the
position of the target panel control
Width Width of the background shadow of the panel (in pixels)
To see a working example of the DropShadow extender, let??™s take a look at the example
for the DropShadow extender provided in the documentation for the ASP.


Pages:
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240