ScriptReferencerRegisterScript Method |
Registers a script reference to be rendered into the page when this control is rendered.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntaxpublic void RegisterScript(
string name,
string src,
string dependencies = null
)
Public Sub RegisterScript (
name As String,
src As String,
Optional dependencies As String = Nothing
)
Parameters
- name
- Type: SystemString
The name of the script. - src
- Type: SystemString
The script file reference (the script element's src value). - dependencies (Optional)
- Type: SystemString
Script dependencies, currently ignored.
See Also