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 229 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

NET AJAX Control
Toolkit shown in Figure 8-1.
Figure 8-1. An example of the DropShadow extender applied to a panel
CHAPTER 8 ?–  USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 166
Basically, you just need to set the TargetControlID property of the DropShadow extender
to the ID of the panel control to which you want to add shadow and curved corners. After
that, you can set the appropriate properties to get the desired visual appearance such as
those used in this example. In the following code snippet, the panel is given 75% opacity
with the radius of 6 pixels for the rounded corners and a width of 5 pixels for the background
shadow.
BehaviorID="DropShadowBehavior1"
TargetControlID="Panel1"
Width="5"
Rounded="true"
Radius="6"
Opacity=".75"
TrackPosition="true" />
RoundedCorners Extender
As mentioned earlier, this is very similar to the DropShadow extender and has many of the
same properties. However, the RoundedCorners extender is most ideal when you simply
want to add rounded corners to your panel or another control.


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