ListBox - avoid AutoPostBack when Ctrl key pressed

A

an

In a ListBox I allow Multiselection.

I have also the Autopostback property = True

When the user wants to multiselect
and presses Ctrl key and starts clicking on items,
the Autopostback if firerd every time:
it is frustrating.

Is there a way to avoid Autopostback in this case?
 
A

an

If I let the user enable Javascript,

is there a way to detect somewhere the Ctrl key pressed ?

A sort of:

If key.Ctrl = True then
Listbox1.Autopostback = False
End If

How to correctly write it?
Where to put it?
 

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,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top