Can a listbox display a context menu this way?

LiLo

Freshman
Joined
Mar 10, 2006
Messages
33
Hello everyone,

I am creating a custom control which consists of a ASP.Net listbox and a context menu. The listbox consists of a couple of list items and there are empty spaces within the listbox as it is not filled up.

Is it possible to display the context menu only when the user right-clicks on the selected list items? (The context menu will not be displayed if the user right clicks on the empty space below the list items within the listbox)
 
Back
Top