ScriptReference.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 Friend Overrides Function GetUrl (
	scriptManager As ScriptManager,
	zip As Boolean
) As String

Parameters

scriptManager
Type: System.Web.UI.ScriptManager

The ScriptManager control on the target Web page.

zip
Type: System.Boolean

true if the script should be compressed; 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: