what ListBox event should I use

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

hi

asp.net 2.0

I have a ListBox on my webpage. When user selects a row I want some code to
be executed. I've tryed "OnSelectedIndexChanged" but that event isn't
triggered when changing rows. So I'm unsure what event to use...

this is the markup of the ListBox:
<asp:ListBox Width="300"
Height="150"
ID="lbCar"
OnSelectedIndexChanged="lbUrl_SelectedIndexChanged"
runat="server">
</asp:ListBox>

any suggestions what event I should use?
 
Back
Top