Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Pages.ScriptManager.AddFirst Method

Add a named JavaScript code section BEFORE all other included FILES. If the named section has already been added, it is not added again. This is useful for code sections that are added by controls/modules which may be used multiple times on a page. You must insure that the code sections with the same name are always identical.

Class: YetaWF.Core.Pages.ScriptManager
Namespace: YetaWF.Core.Pages
Assembly: YetaWF.Core

Syntax

public bool AddFirst(
    string name,
    ScriptBuilder tag );
public bool AddFirst(
    string name,
    string javaScript );

Parameters

name

(not specified)

tag

(not specified)

javaScript

(not specified)

See Also YetaWF.Core.Pages.ScriptManager ClassYetaWF.Core Overview