Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Double click event in ASP:ListBox


Message #1 by "Peter Lawrence" <peter.lawrence@p...> on Tue, 16 Jul 2002 13:32:00 +0100
I want to respond to a double click in an ASP:ListBox, and do some DB stuff
on the server in the event handler. But the only event which seems to be
available (in VS.NET) is SelectIndexChanged.

Any suggestions?

Thanks
Peter

Message #2 by Pavankumar T <PavanKumar.T@k...> on Tue, 16 Jul 2002 18:46:16 +0530
There is no event to doubleclick in .net . I feel there is no meaning of
double clicking on a listbox. Instead you can use other events !!!

-----Original Message-----
From: Peter Lawrence [mailto:peter.lawrence@p...]
Sent: Tuesday, July 16, 2002 6:02 PM
To: aspx_beginners
Subject: [aspx_beginners] Double click event in ASP:ListBox


I want to respond to a double click in an ASP:ListBox, and do some DB stuff
on the server in the event handler. But the only event which seems to be
available (in VS.NET) is SelectIndexChanged.

Any suggestions?

Thanks
Peter


Message #3 by "Peter Lawrence" <peter.lawrence@p...> on Wed, 17 Jul 2002 10:31:18
> I want to respond to a double click in an ASP:ListBox, and do some DB 
stuff
on the server in the event handler. But the only event which seems to be
available (in VS.NET) is SelectIndexChanged.

Any suggestions?

Thanks
Peter


I have found one solution to this myself - manually 
insert "OnDblClick=MyButton.Click()" within the ASP:ListBox tag. MyButton 
is an ASP:Button with a event handler. This seems to work OK even if it 
would be better to have it a "full" ASP.NET solution.

Peter

  Return to Index