Syntax
CSharp
VisualBasic
ManagedCPlusPlus
JSharp
/** @property */
/** @property */
Value
Return Value
true if notifyScriptLoaded is automatically called at the end of a JavaScript file; false if code that calls notifyScriptLoaded is already in the JavaScript file. The default value is true.
Remarks
Set the NotifyScriptLoaded property to false if you reference a script file in an assembly and the script file already contains code to call notifyScriptLoaded. An error will be thrown if notifyScriptLoaded is called more than one time from a script file.
If you reference a standalone script file that is not embedded in an assembly, you must still include code at the end of the script file to call notifyScriptLoaded. The following example shows the code to include at the end of the script file.
if(typeof(Sys) !== "undefined")Sys.Application.notifyScriptLoaded();
Assembly: System.Web.Extensions (Module: System.Web.Extensions)