| ControlResourcesAddScriptBlock Method |
Adds new <script> block to the current page output.
Namespace:
Dynamicweb.Controls
Assembly:
Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax public static void AddScriptBlock(
string key,
string contents
)
Public Shared Sub AddScriptBlock (
key As String,
contents As String
)
Parameters
- key
- Type: SystemString
String identifier of the target block. - contents
- Type: SystemString
Javascript code block contents.
Remarks See Also