No Doubleclick event on a Listbox control?

B

Buddy Ackerman

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.


--Buddy
 
B

Brock Allen

You could create your own ListBox control that handles double click. Look
into IPostBackEventHandler and Page.GetPostBackEventReference.
 

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,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top