-
Book Overview & Buying
-
Table Of Contents
Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained
In this chapter you will apply the theory you’ve learned so far in this book, while creating two client-side components: Timer and EnhancedTextBox. Building components represents the final challenge when working with the Microsoft AJAX Library.
The Timer component is one of the client components that didn’t make it into ASP.NET AJAX 1.0. We will create it here, however, to help us create the component we’re interested in: a behavior named EnhancedTextBox. This behavior extends the normal HTML input text control by implementing the word suggest/auto-complete feature based on the letters typed by the user inside the text box.
The timer component is very useful because it can be used in a variety of scenarios that involve repetitive tasks. This component has a very simple logic: based on two properties named interval and enabled, the component fires a tick event informing the registered handlers of the elapsed period of time...
Change the font size
Change margin width
Change background colour