Test Your Knowledge: First ASP.NET AJAX Server Control with C# Explained
Summary
This is a test on the various pieces of the code generated for an AJAX Server Control. This includes the class ScriptControl and the over-ridden methods GetScriptDescriptors() and GetScriptReferences().
|
Table of Contents
Creating AJAX Server Control Figure 1. New Project for ASP.NET AJAX Server Control The Generated Files Figure 2. AJAX Server Control project with js and cs files JavaScript code in the AJAX Server Control Code Listing 1. The client-side code in AJAX Server Control Associating with a namespace Code Listing 2. The Namespace for the AJAX Server Control Defining the class for the control Code Listing 3. The class for the AJAX Server Control Registering the class Code Listing 4. Registering AJAX Server Control Class Server code in the AJAX Server Control Code Listing 5. Server Code in the AJAX Server Control The Base Class Code Listing 6. The Base Class for AJAX Server Control GetScriptDescriptors() Code Listing 7. GetScriptDescriptors() GetScriptReferences() Code Listing 8. GetScriptReferences()
|
Review Answers for Questions in this Test
|
|
|
Bookmark and Share This
|
|
More Articles With Similar Tags
|
Google Suggest style autocomplete feature is readily available from the AutoCompleteExtender control from the AJAX Toolkit. This article shows how to use control with the data obtained from database.
|
This article explains the various pieces of the code generated for beginning an AJAX Server Control. The class ScriptControl and the over-ridden methods GetScriptDescriptors() and GetScriptReferences() are explained, among others.
|
This article talks about using an AJAX Server Control from a web site. Registering the control and adding a ScriptManager are also discussed.
|
This test has questions about using an AJAX Server Control from a web site. Registering the control and adding a ScriptManager are also included.
|
With an AJAX Server control, some additional JavaScript is generated behind the scenes (in addition to the JS you write). This article looks at this generated JavaScript when an AJAX Server Control is used.
|
|
|