ScriptOrder Enumeration

Glimpse API

ScriptOrder Enumeration Glimpse API Documentation
The ScriptOrder enumeration specifies the sorting order placement of <script> tags generated by IClientScript's within a page response.

Namespace: Glimpse.Core.Extensibility
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public enum ScriptOrder
public enum ScriptOrder
Members

  Member nameValueDescription
IncludeBeforeClientInterfaceScript0 The first <script> tags rendered. The Glimpse client has not yet been rendered, as such IClientScript's with this ScriptOrder should only perform setup tasks.
ClientInterfaceScript1 The <script> tags representing the main Glimpse client.
IncludeAfterClientInterfaceScript2 The <script> tags rendered immediately after the Glimpse client. These scripts usually customize or extend the Glimpse client.
RequestMetadataScript3 The <script> tags representing a resource to obtain Glimpse's server side configuration metadata.
IncludeBeforeRequestDataScript4 The <script> tags rendered after Glimpse's server side configuration metadata. These scripts usually append or alter the server side metadata before the client has actually rendered.
RequestDataScript5 The <script> tags representing a resource to all metadata gathered for the given Http request.
IncludeAfterRequestDataScript6 The last <script> tags rendered. These scripts usually append or alter Http request data.
See Also