Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

InsertItem Method (index, item)

Inserts an UpdatePanelTrigger object into the UpdatePanelTriggerCollection object at the specified index.

Syntax

CSharp

protected override void InsertItem (
	int index,
	UpdatePanelTrigger item
)

VisualBasic

Protected Overrides Sub InsertItem ( _
	index As Integer, _
	item As UpdatePanelTrigger _
)

ManagedCPlusPlus

protected:
virtual void InsertItem (
	int index, 
	UpdatePanelTrigger^ item
) override

JSharp

protected void InsertItem (
	int index,
	UpdatePanelTrigger item
)

Parameters

index (Int32)

The zero-based index at which the trigger should be inserted.

item (UpdatePanelTrigger)

The trigger to insert. The value can be null for reference types.

Remarks

You can add AsyncPostBackTrigger objects, PostBackTrigger objects, or any custom trigger that derives from UpdatePanelTrigger.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)