Otter SDK Reference
Version:

IncludeClientResourceInPage(System.Web.UI.Control control, Inedo.Web.ClientResources.ClientResource clientResource) Method

Includes the specified client resource in the parent page of a control.

Syntax

public static void IncludeClientResourceInPage(System.Web.UI.Control control, Inedo.Web.ClientResources.ClientResource clientResource)

Parameters

control
Type: System.Web.UI.Control

Control which is contained by a page that implements Inedo.Web.ClientResources.IClientResourceHost.

clientResource
Type: Inedo.Web.ClientResources.ClientResource

The client resource to add to the page.

Remarks

control must have been added to a page which implements Inedo.Web.ClientResources.IClientResourceHost.