what ListBox event should I use

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top