Version

RegisterScriptBlock Method

Syntax
'Declaration
 
Public Shared Function RegisterScriptBlock( _
   ByVal control As Control, _
   ByVal type As Type, _
   ByVal key As String, _
   ByVal script As StringBuilder, _
   ByVal insertTags As Boolean, _
   ByVal render As Integer _
) As String
public static string RegisterScriptBlock( 
   Control control,
   Type type,
   string key,
   StringBuilder script,
   bool insertTags,
   int render
)

Parameters

control
type
key
script
insertTags
render
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also