Groups | Blog | Home
all groups > asp.net > may 2005 >

asp.net : No Doubleclick event on a Listbox control?



Buddy Ackerman
5/18/2005 11:07:23 PM
Why is there no DoubleClick event on the ListBox control? I set a dual list box interface and want to be able to allow
the user to double-click an item in one listbox to move it to the other. I have buttons that do that now but I would
like for the DoubleClick to be a shortcut. I'm posting this becasue I can't believe that no DoubleClick event exists,
there must be a way to get this to work.


Brock Allen
5/19/2005 8:53:03 AM
You could create your own ListBox control that handles double click. Look
into IPostBackEventHandler and Page.GetPostBackEventReference.

-Brock
DevelopMentor
http://staff.develop.com/ballen



[quoted text, click to view]


AddThis Social Bookmark Button