No Doubleclick event on a Listbox control?

Discussion in 'ASP .Net' started by Buddy Ackerman, May 19, 2005.

  1. 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
     
    Buddy Ackerman, May 19, 2005
    #1
    1. Advertising

  2. Buddy Ackerman

    Brock Allen Guest

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

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



    > 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
    >
     
    Brock Allen, May 19, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike

    DoubleClick on ListBox

    Mike, May 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,763
    =?Utf-8?B?S2FzaHlwYQ==?=
    May 6, 2004
  2. David Lozzi

    Firing a function on a doubleclick event

    David Lozzi, Mar 9, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    5,656
    =?Utf-8?B?VGltIFN0YWxs?=
    Mar 9, 2005
  3. =?Utf-8?B?cGVsZWdrMQ==?=

    asp.net 2 : asp:listbox doubleclick and fire event

    =?Utf-8?B?cGVsZWdrMQ==?=, Aug 31, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    848
    bruce barker
    Sep 1, 2007
  4. DoubleClick Event on ListBox

    , Mar 18, 2005, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    191
  5. OfurGørn

    ListBox Click or DoubleClick event for web apps

    OfurGørn, Jul 29, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    438
    OfurGørn
    Jul 29, 2005
Loading...

Share This Page