New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Web.UI.InputManager.TargetControlCollection

Collection containg Telerik.Web.UI.TargetControl items.

Inheritance Hierarchy

  • System.Object
  • System.Collections.CollectionBase
  • Telerik.Web.UI.InputManager.TargetControlCollection

Methods

Add

Adds an item to the collection.

Parameters

targetControl Telerik.Web.UI.TargetInput

The to add to the collection.

Returns

System.Int32 The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection,

Contains

Determines whether the collection contains a specific value.

Parameters

targetControl Telerik.Web.UI.TargetInput

The object to locate in the collection.

Returns

System.Boolean true if the is found in the collection; otherwise, false.

FindTargetInputById

Finds TargetInput setting by ID of input control

Parameters

id System.String

ID of input control

Returns

Telerik.Web.UI.TargetInput TargetInput or null

IndexOf

Determines the index of a specific item in the collection.

Parameters

targetControl Telerik.Web.UI.TargetInput

The to locate in the collection.

Returns

System.Int32 The index of if found in the list; otherwise, -1.

Insert

Inserts an item to the collection at the specified index.

Parameters

index System.Int32

The zero-based index at which should be inserted.

targetControl Telerik.Web.UI.TargetInput

The to insert into the collection.

Returns

System.Void

Remove

Removes the first occurrence of a specific from the collection.

Parameters

targetControl Telerik.Web.UI.TargetInput

The to remove from the collection.

Returns

System.Void