New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
SelectedIndexChanged
The SelectedIndexChanged fires when you change the selected item. It will fire automatically if the AutoPostBack="True". The event fires before the TextChanged server event.
The event handler receives two parameters:
-
The instance of the listbox firing the event
-
An event arguments parameter containing no methods
C#
protected void RadListBox1_SelectedIndexChanged(object sender, EventArgs e)
{
Label.Text = "You have selected item : " + RadListBox1.SelectedItem.Text;
}