Listbox scrolling

Results 1 to 2 of 2

Thread: Listbox scrolling

  1. #1
    Join Date
    Dec 1969

    Default Listbox scrolling

    I have a listbox with about 500 items in it. I also have a textbox with a FIND button where the user can type in what they want from the listbox, click FIND, and the first item matching their request is selected in the listbox.<BR><BR>My problem is that even though the item is selected, if it isn&#039;t in the first x number of items in the listbox (x = 8 in my case, since that is the size of my listbox) the item doesn&#039;t show up. The user has to scroll down to find the item.<BR><BR>VB.NET has a TOPINDEX property that would allow me to show the selected item (set the TOPINDEX to the index of the item selected). What can I do in ASP.NET to accomplish the same thing?<BR><BR>Thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default this would be some client side

    code to do this, specifically javascript to "focus" on the item selected...<BR><BR>i have no idea of how, or if its even possible, but it definitely is not a server side thing

Posting Permissions

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