Which of the following ScriptManager properties gets a ScriptReferenceCollection object that
contains the ScriptReference objects, each of which represents a script file rendered to the client?
A.
ScriptManager.ScriptMode
B.
ScriptManager.Services
C.
ScriptManager.Scripts
D.
ScriptManager.ScriptPath
Explanation:
The ScriptManager.Scripts property gets a ScriptReferenceCollection object that contains the
ScriptReference objects. This property returns an object that is a collection of ScriptReference
objects, each of which represents a script file. The collection includes references to all the script files
that ASP.NET needs for AJAX functionality, and to custom script files.
Answer B is incorrect. The ScriptManager.Services property gets a ServiceReferenceCollection
object that contains a ServiceReference object for each Web service that ASP.NET exposes on the
client for AJAX functionality. This property returns an object that is a collection of ServiceReference
objects, each of which represents a Web service that is registered with the ScriptManager control.
Answer D is incorrect. This property gets or sets the root path of the location that is used to build
the paths to ASP.NET AJAX and custom script files.
Answer A is incorrect. This property gets or sets a value that specifies whether debug or release
versions of client script libraries are rendered.