Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.RegisterHeadScriptEvent(String, String, String, String) Method

Registers script block that should be rendered within the head HTML element.

[Visual Basic]
Public Overloads Sub RegisterHeadScriptEvent( _
   ByVal key As String, _
   ByVal element As String, _
   ByVal eventName As String, _
   ByVal script As String _
)
[C#]
public void RegisterHeadScriptEvent(
   string key,
   string element,
   string eventName,
   string script
);

Parameters

key
Script key.
element
Element ID of the event source.
eventName
Name of the event to handle.
script
Script text.

See Also

Page Class | Spring.Web.UI Namespace | Page.RegisterHeadScriptEvent Overload List