Otter SDK Reference
Version:

AddHtmlEncoded(System.Web.UI.ControlCollection toControl, string tagName, string innerText) Method

Adds an instance of a System.Web.UI.HtmlGenericControl to a control collection.

Syntax

public static void AddHtmlEncoded(System.Web.UI.ControlCollection toControl, string tagName, string innerText)

Parameters

toControl
Type: System.Web.UI.ControlCollection

Control collection to add to.

tagName
Type: string

The element tag name.

innerText
Type: string

The inner text of the element.