Version

EnableScriptSrcProcessing Method

Enable or disable processing SCRIPT blocks with src. Default value is true. If that option is enabled, then all SCRIPT blocks that have src attribute are passed to the client, but only new script files are loaded. That processing may slow down performance. If the application does not load new controls that depend on js files dynamically, then it is better for that option to be disabled.
Syntax
'Declaration
 
Public Shared Sub EnableScriptSrcProcessing( _
   ByVal page As Page, _
   ByVal enable As Boolean _
) 
public static void EnableScriptSrcProcessing( 
   Page page,
   bool enable
)

Parameters

page
Reference to page
enable
True: enable, false: disable
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also