Which two actions should you perform

Corrected : Question No: 149
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)
A. Add the following assembly attribute to the AssemblyInfo file. [assembly: WebResource("SampleControl.Refresh.js", "application/x-javascript")]
B. Add the following assembly attribute to the AssemblyInfo file. [assembly:ScriptResource("SampleControl.Refresh.js")]
C. In the Properties window for the Refresh.js file, set the Build Action to Embedded Resource.
D. In the Properties window for the Refresh.js file, set the Build Action to Content.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.