Edit this page

OnEntryAdded

The server-side OnEntryAdded event occurs when an entry is added to the entry area, causing a postback.

The event handler receives two parameters:

  1. The instance of the DropDownTree firing the event

  2. An event argument parameter that contains the following property:

    • Entry - returns the entry that has just being added to the input.

protected void RadDropDownTree1_EntryAdded(object sender, DropDownTreeEntryEventArgs e)
{
    Label1.Text = e.Entry.Text + " was added.";
}


Protected Sub RadDropDownTree1_EntryAdded(sender As Object, e As DropDownTreeEntryEventArgs)
    Label1.Text = e.Entry.Text + " was added."
End Sub

See Also