Question:You write a JavaScript class that uses the Microsoft AJAX Library. You intend to use the class on a webpage. Which of the following actions should you take? 

A Add the following markup to the <head /> section of the ASPX page.
<script src="ContosoUtilities.js" type="text/javascript"></script>
 

B Add a ScriptManager control to your page. It automatically finds your .js files in your solution. You can then work with them by using IntelliSense. 

C Add a ScriptManager control to your page. Add a reference nested inside the ScriptManager control that points to your JavaScript file. 

D Use the ScriptReference class in your code-behind file and set its path to the path of your .js file. 

+ Answer
+ Report
Total Preview: 1517

Copyright © 2024. Powered by Intellect Software Ltd