Adds client side body.onload event handler
Namespace: DotNetNuke.UI.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[ObsoleteAttribute("This method has been deprecated and its code replaced in the 7.1.0 release")] public static void AddBodyOnloadEventHandler( Page objPage, string strJSFunction ) |
Visual Basic |
---|
<ObsoleteAttribute("This method has been deprecated and its code replaced in the 7.1.0 release")> Public Shared Sub AddBodyOnloadEventHandler ( objPage As Page, strJSFunction As String ) |
Parameters
- objPage
- Type: System.Web.UI..::..Page
Current page rendering content
- strJSFunction
- Type: System..::..String
Javascript function name to execute