Multiselect listbox jumps to top on postback

L

Lenard Gunda

Hi,

I have the following problem. On a page I have a multiple selection listbox.
It contains a lot of items. When items near the bottom are selected, and I
do a postback, the control jumpst to the top. If there are a lot of items,
this can get very annoying, always having to scroll down to the selected
items (if I want to change them, or something).

This behavior is only in Internet Explorer, and only with multiple selection
listboxes. If a single selection box is used, the selection is always
visible, even after a postback. In Firefox, even a multiple selections jump
to the first selected, on postback.

Is there a way (javascript or something) to make IE behave the same way -
that is, to scroll to the first selection in a multiple select listbox on
postback?

Thanks for any help

Best Regards

-Lenard
 
R

Raghuram

but because of Smartnavigation = true, this will cause any of the java
scripts like java script menu will be disabled . . .
Raghuram
 

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,821
Latest member
AleidaSchi

Latest Threads

Top