double click on a listbox...

D

Daniel Bass

I've got a button (server side) next to a list box (server side)... is it
possible, that on a double click on the listbox, and event can cause a
button click simulation?

I've manually inserted the OnDblClick attribute into the asp:Listbox tag and
this does appear to fire, but I can't get it to call my server side code...

If I try to call a public function in the code-behind,
'OnDblClick="InsertSelectedFiles()"' it says that an object is expected when
the listbox is double clicked...

so i surrounded the call in <%= %> and it then fails on load saying that
Server tags cannot contain <% ... %> constructs.

any input on this?

Thanks for your time.

Daniel.
 

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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top