wwWebPage.RegisterClientScriptBlock

Adds a client script block to the page. The block is added at the top of the page and typically used for adding functions.

o.wwWebPage.RegisterClientScriptBlock(lcID,lcScriptCode)                    

Parameters

lcID
Id for this script. Use a shared ID if this script block needs to be accessed potentially by multiple controls. Use a Unique id (ie. UniqueID + "_myscript") if the script needs to vary for multiple controls.

lcScriptCode
The script code to embed into the page

See also:

Class wwWebPage


  Last Updated: 9/30/2007 | © West Wind Technologies, 2008