CompositeScriptReference.GetUrl Method (ScriptManager, Boolean)

 

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

Returns 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 override 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 a URL.

.NET Framework
Available since 3.5
Return to top
Show: