Multiselect listbox jumps to top on postback

  • Thread starter Thread starter Lenard Gunda
  • Start date Start date
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
 
but because of Smartnavigation = true, this will cause any of the java
scripts like java script menu will be disabled . . .
Raghuram
 
Back
Top