I believe that you will need to use JavaScript to do this.
'CodeBehind
Me.ListBox1.Attributes.Add("onDblClick", "lstDblClicked")
'JavaScript function
<script language='javascript'>
function lstDblClicked(){
for (var i = 0; i < document.forms[0].ListBox1.options.length; i++ {
if (document.forms[0].ListBox1.options[i].selected) {
...
}
}
}
</script>
HTH,
Jody
"tshad" <ts**********@ftsolutions.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there a way to do go to an even using double click?
I know there is such an event, but I haven't seen any on the asp.net
objects.
I tried to add one, but it didn't go anywhere.
Thanks,
Tom