ScriptReferenceBase.GetUrl Method (ScriptManager, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Retrieves the URL that is rendered as the value of the src attribute of the script element.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected internal abstract string GetUrl(
	ScriptManager scriptManager,
	bool zip
)

Parameters

scriptManager
Type: System.Web.UI.ScriptManager

The ScriptManager control on the target Web page.

zip
Type: System.Boolean

true to compress the script; otherwise, false.

Return Value

Type: System.String

A string that contains the URL that is rendered as the value of the src attribute of the script element.

.NET Framework
Available since 3.5
Return to top
Show: