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

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

aspx (or whatever you called the web form). Also
drag and drop (from the HTML tab) an Input (Button) control to the web page. You can
see the result in Figure 3-8.
CHAPTER 3 ?–  THE MICROSOFT AJAX LIBRARY: MAKING CLIENT-SIDE JAVASCRIPT EASIER 38
Figure 3-7. The ASP.NET AJAX server control within the Toolbox
Figure 3-8. The ScriptManager server control and HTML button in the Visual Studio 2005
Designer
CHAPTER 3 ?–  THE MICROSOFT AJAX LIBRARY: MAKING CLIENT-SIDE JAVASCRIPT EASIER 39
Coding and Running the Application
If you double-click the button in the designer, Visual Studio 2005 will add the onclick
attribute to the HTML element, set its value to return
Button1_onclick(), and implement the stub of the function Button1_onclick inside a