Microsoft
70-515 · Question #181
You create an ASP.NET server control in the SampleControl namespace. The control uses a JavaScript file names Refresh.js to implement AJAX functionality. You need to ensre that the JavaScript file…
The correct answer is A. Add the following assembly attribute to the AssemblyInfo file. C. In the Properties window for the Refresh.js file, set the Build Action to Embedded Resource. See the full explanation below for the reasoning.
Question
You create an ASP.NET server control in the SampleControl namespace. The control uses a JavaScript file names Refresh.js to implement AJAX functionality. You need to ensre that the JavaScript file is included in the assembly. Which two actions should you perform (Choose 2)
Options
- AAdd the following assembly attribute to the AssemblyInfo file.
- BAdd the following assembly attribute to the AssemblyInfo file.
- CIn the Properties window for the Refresh.js file, set the Build Action to Embedded Resource.
- DIn the Properties window for the Refresh.js file, set the Build Action to Content.
How the community answered
(31 responses)- A81% (25)
- B6% (2)
- D13% (4)
Community Discussion
No community discussion yet for this question.