How to add an item click event to an asp 3.5 ListView control ?

I have a ListView control which is bound to a datasource. I want to do something in server side  when someone clicks on an item. I found no direct way of doing it. Is there any other solution ? Please help...
sathyanreddyAsked:
Who is Participating?
 
Anurag ThakurTechnical ManagerCommented:
there is no event for a double click for list view but for the control there is one MouseDoubleClick event
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.mousedoubleclick(VS.80).aspx

in this event you can find what is selected in the list view and take action accordingly
Hope it helps
0
 
SameerJagdaleCommented:
how about SelectedIndexChanged event?
0
 
Anurag ThakurTechnical ManagerCommented:
0
 
sathyanreddyAuthor Commented:
I am sorry. I did't find anything useful with the SelectedIndexChanged event. I want to raise an event when the user double clicks on any item in the listview. Is it possible ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.