Positionnement dans la liste en utilisation "FindItem"

2 posts, 0 answers
  1. Alain Cabot
    Alain Cabot avatar
    4 posts
    Member since:
    Sep 2009

    Posted 08 Nov 2010 Link to this post

    I have a screen with a RadListBox where users are able to search through the list with a button and a search button below. The user enters the search value and fact find.
    I am able to find the right items with my search button and using the following method "FindItem" of control.

    My problem is that if I have a scrollbar because I have a lot of information in the list find the item is in the bottom of the list, the control does not set the list to see who is selected by programming .

    If it is not clear, I have an example I can send you.
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 11 Nov 2010 Link to this post

    Hi Alain Cabot,

    I believe that you can use one of the following client side methods to scroll the listbox to the selected item:

    var item = $find("RadListBox1").getItem(10);
    /* or */

    I suggest that you give it a try.

    Sincerely yours,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top