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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top