Aeron
03-02-2006, 12:26 PM
Hi,
I have a ListBix (data bound) and has AutoPostBack activated, so user clicks on an item and it refreshes some other list/table on page.
All works fine in single select mode. The page is refreshed and the selected items become the first one in a long list that has a scroll bar (it automatically scrolls to it ! which is great...).
But I need "Multiple" select mode too. In this case after single item is selected (or multiple items) the list does not scroll to any of them, it just refreshes the screen and stay at the top of the list (no scrolling).
I have tried everything with ASP.NET, with javascript code but no success. (Can you scroll with javascript ?)
Any help will be appreciated (I am guessing this is a common problem with Listbox + AutoPostBack + Multiple mode in ASP.NET).
Thanks
I have a ListBix (data bound) and has AutoPostBack activated, so user clicks on an item and it refreshes some other list/table on page.
All works fine in single select mode. The page is refreshed and the selected items become the first one in a long list that has a scroll bar (it automatically scrolls to it ! which is great...).
But I need "Multiple" select mode too. In this case after single item is selected (or multiple items) the list does not scroll to any of them, it just refreshes the screen and stay at the top of the list (no scrolling).
I have tried everything with ASP.NET, with javascript code but no success. (Can you scroll with javascript ?)
Any help will be appreciated (I am guessing this is a common problem with Listbox + AutoPostBack + Multiple mode in ASP.NET).
Thanks