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

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

Often, the control is
used as a quick customer feedback control or for an advertisement of some sort. It??™s usually
best to use absolute positioning (DHTML) for control(s) used with this extender,
otherwise, the AlwaysVisibleControlExtender may at times exhibit unexpected behavior.
As mentioned earlier, you can use this extender with composite controls such as panels
containing other controls, but for simplicity, the following example just uses an ASP.NET
Label control as the target control:
runat="server" TargetControlID="Label1" HorizontalOffset="2"???
ScrollEffectDuration="1" HorizontalSide="Right" VerticalSide="Top" >

Font-Size="Larger" ForeColor="White" Height="28px" Text="ASP.NET ???
AJAX" Width="127px">

The preceding code snippet uses the AlwaysVisibleControlExtender to pin down a
Label control to the top right of the screen. When scrolling down to see if there are pages
of content below it, you would notice that this Label control is static in its top-right corner
of the page position as shown in Figure 7-3.


Pages:
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213