Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

IgnoreScriptPath Property

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.

Syntax

CSharp

[DefaultValueAttribute(false)]
[CategoryAttribute("Behavior")]
public bool IgnoreScriptPath { get; set; }

VisualBasic

<DefaultValueAttribute(False)> _
<CategoryAttribute("Behavior")> _
Public Property IgnoreScriptPath As Boolean

ManagedCPlusPlus

[DefaultValueAttribute(false)]
[CategoryAttribute(L"Behavior")]
public:
bool IgnoreScriptPath {
	bool get ();
	void set (bool value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

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

Remarks

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

Assembly: System.Web.Extensions (Module: System.Web.Extensions)