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

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

Basically, other than the various ButtonID properties used
to specify the Play, Stop, and Previous buttons, the only other noteworthy point here is
the SlideshowSeviceMethod, which is set to GetSlides, the web method that will feed the
extender with a list of images to display as shown here:
public static AjaxControlToolkit.Slide[] GetSlides()
{
return new AjaxControlToolkit.Slide[] {
new AjaxControlToolkit.Slide("images/Blue hills.jpg", "Blue Hills", "Go Blue"),
new AjaxControlToolkit.Slide("images/Sunset.jpg", "Sunset", "Setting sun"),
new AjaxControlToolkit.Slide("images/Winter.jpg", "Winter", "Wintery..."),
new AjaxControlToolkit.Slide("images/Water lilies.jpg", "Water lillies",
"Lillies in the water"), new AjaxControlToolkit.Slide(
"images/VerticalPicture.jpg" , "Sedona", "Portrait style picture");
}
CHAPTER 8 ?–  USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 200
Figure 8-16 shows the SlideShow extender in the browser.
Figure 8-16. A slide show with three control buttons using the SlideShow extender
TabContainer and TabPanel Control
Tabs are fundamental and useful UI elements that are becoming increasingly popular in
web applications.


Pages:
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288