Επεξεργασία

Κοινή χρήση μέσω


UpdatePanelTriggerCollection.InsertItem(Int32, UpdatePanelTrigger) Method

Definition

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

protected:
 override void InsertItem(int index, System::Web::UI::UpdatePanelTrigger ^ item);
protected override void InsertItem (int index, System.Web.UI.UpdatePanelTrigger item);
override this.InsertItem : int * System.Web.UI.UpdatePanelTrigger -> unit
Protected Overrides Sub InsertItem (index As Integer, item As UpdatePanelTrigger)

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.

Applies to

See also