PageEnvironment.EmbedScriptString

Embeds a piece of script into the page uniquely by id.

Use this method to ensure this script block is loaded into the page only once based on a common id. First script loaded wins.

public void EmbedScriptString(StringBuilder output,
	string script,
	string id,
	bool addScriptTags)

Parameters

output

script

id

addScriptTags


See also:

Class PageEnvironment

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic