Results 1 to 2 of 2

Thread: retain scroll position of ListBox after postback

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    USA
    Posts
    74

    Exclamation retain scroll position of ListBox after postback

    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??
    Thanks
    Manju

  2. #2
    Member EricDalnas's Avatar
    Join Date
    Sep 2004
    Location
    Rhode Island
    Posts
    51

    the solution

    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/.../Download.aspx
    Maybe if you'd stop breathing and die for a change I wouldn't be so pissed off all the time.

    www.mredkj.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width