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)

public protected:
virtual String^ GetUrl(
	ScriptManager^ scriptManager,
	bool zip
) override

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: