This extender provides a
property, Corners, with which you can specify the corners of the target control you want
rounded. This is convenient in cases where you want one half of your panel to merge into
anther control and only want one side with rounded edges. The Corners property supports
the following self-descriptive values: None, TopLeft, TopRight, BottomLeft,
BottomRight, Top, Right, Bottom, Left, and All. You can apply this extender to your control
with just three properties as shown here:
TargetControlID="Panel1"
Radius="6"
Corners="All" />
Also, much like the DropShadow extender, the Radius property is provided, and thus the
radius of the rounded corners is adjustable. Figure 8-2 shows a great example of the
RoundedCorners extender as included in the ASP.NET AJAX Toolkit samples.
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 167
Figure 8-2. RoundedCorners extender applied to a panel with all corners rounded
DynamicPopulate Extender
The DynamicPopulate extender can asynchronously populate an ASP.
Pages:
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242