js" type="text/javascript">
Before leaving the ScriptReference object, let??™s take a look at its properties as shown
in Table 5-3.
CHAPTER 5 ?– INTRODUCING SERVER CONTROLS IN ASP.NET AJAX 87
Table 5-3. ScriptReference Tag Properties
Property Name Function
Assembly Actual name of the assembly that contains the client script file as an
embedded resource
IgnoreScriptPath Indicates whether the ScriptPath property is included in the URL when
you register a client script file from a resource
Name Name of the embedded resource that contains the client script file
NotifyScriptLoaded Indicates whether the additional code should be added to the script file
to notify the ScriptLoaded method of the Sys.Application class
Path Specifies the path where the ScriptManager control can find the
stand-alone script file to download
ResourceUICultures Comma-delimited list of UI cultures that are supported by the Path
property
ScriptMode The mode of the target script (debug, release, etc.)
Specifying Services
In Chapter 2, you saw how a service can be directly consumed in a client application
through a script-based proxy.
Pages:
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159