This topic has not yet been rated - Rate this topic

ScriptReference.IgnoreScriptPath Property

Note: This API is now obsolete.

Gets or sets a value that indicates whether the ScriptPath property is included in the URL when you register a client script file from a resource.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)
[ObsoleteAttribute("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")]
public bool IgnoreScriptPath { get; set; }

Property Value

Type: System.Boolean
true if the script path is not used when you register the client script; otherwise, false.

You set IgnoreScriptPath to true when you want to register a client script file without including the ScriptPath value in the URL of the script file.

.NET Framework

Supported in: 3.5
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.