Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.RegisterHeadScriptEvent(String, MimeMediaType, 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 mimeType As MimeMediaType, _
   ByVal element As String, _
   ByVal eventName As String, _
   ByVal script As String _
)
[C#]
public void RegisterHeadScriptEvent(
   string key,
   MimeMediaType mimeType,
   string element,
   string eventName,
   string script
);

Parameters

key
Script key.
mimeType
The scripting language's MIME type.
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