ScriptReference::IgnoreScriptPath Property
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Web.UI
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Return to top
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.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: [ObsoleteAttribute("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")] property bool IgnoreScriptPath { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue 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
Available since 3.5
Available since 3.5
Show: