.netCHARTING v10.5 Documentation


dotnetCHARTING.Zoomer Namespace > ClientScriptProxy Class : RegisterClientScriptBlock Method
RegisterClientScriptBlock Method
Registers a client script block in the page.
Syntax
'Declaration
 
Public Sub RegisterClientScriptBlock( _
   ByVal control As Control, _
   ByVal type As Type, _
   ByVal key As String, _
   ByVal script As String, _
   ByVal addScriptTags As Boolean _
) 
'Usage
 
Dim instance As ClientScriptProxy
Dim control As Control
Dim type As Type
Dim key As String
Dim script As String
Dim addScriptTags As Boolean
 
instance.RegisterClientScriptBlock(control, type, key, script, addScriptTags)
public void RegisterClientScriptBlock( 
   Control control,
   Type type,
   string key,
   string script,
   bool addScriptTags
)

Parameters

control
type
key
script
addScriptTags
Requirements

Target Platforms: 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