Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.RegisterHeadScriptFile(String, String, String) Method

NOTE: This method is now obsolete.

The 'language' attribute is deprecated. Please use RegisterHeadScriptFile(string key, MimeMediaType type, string filename) instead


Registers script file that should be referenced within the head HTML element.

[Visual Basic]
<Obsolete(Message:="The 'language' attribute is deprecated. Please use RegisterHeadScriptFile(string key, MimeMediaType type, string filename) instead", IsError:=False)> _
Public Overloads Sub RegisterHeadScriptFile( _
   ByVal key As String, _
   ByVal language As String, _
   ByVal fileName As String _
)
[C#]
[Obsolete(Message="The 'language' attribute is deprecated. Please use RegisterHeadScriptFile(string key, MimeMediaType type, string filename) instead", IsError=False)]
public void RegisterHeadScriptFile(
   string key,
   string language,
   string fileName
);

Parameters

key
Script key.
language
Script language.
fileName
Script file name.

See Also

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