PDA

Click to See Complete Forum and Search --> : retain scroll position of ListBox after postback


manju
Sep 22nd, 2004, 01:47 PM
Hi,

In my asp.net application, I have a scrollable listbox. User choses an item and clicks on Add button to move the item from first listbox(SourceList) to a second listbox(DestinationList).

After postback(button click) the scroll position of the SourceList is not retained. It is back to the start of listbox. (Before postback my scroll was in the end os listbox)

I tried setting SmartNavigation=True but that didnt help me.

What do I need to do to retain the scroll position of my Listbox?? :confused:

EricDalnas
Sep 22nd, 2004, 04:31 PM
Download this smartscroller control. All you need to do is to place it on your webform and it will retain scroll postion of your listbox and your form. It is much better than smart navigation. It doesn't maintain the listbox position perfectly but it does a pretty good job. Download it here http://www.strengthtechnologies.com/scroll/Download.aspx