Muokkaa

Jaa


ScriptReference.IgnoreScriptPath Property

Definition

Caution

This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.

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.

public:
 property bool IgnoreScriptPath { bool get(); void set(bool value); };
public bool IgnoreScriptPath { get; set; }
[System.Obsolete("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")]
public bool IgnoreScriptPath { get; set; }
member this.IgnoreScriptPath : bool with get, set
[<System.Obsolete("This property is obsolete. Instead of using ScriptManager.ScriptPath, set the Path property on each individual ScriptReference.")>]
member this.IgnoreScriptPath : bool with get, set
Public Property IgnoreScriptPath As Boolean

Property Value

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

Attributes

Remarks

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.

Applies to