This is a migrated thread and some comments may be shown as answers.

CheckedListBox ScrollTo

3 Answers 86 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Tino
Top achievements
Rank 1
Tino asked on 02 Mar 2018, 05:20 AM

If I have say 110 items in my list and want to bring item 67 into view, how do I go about this?

 

Thanks

3 Answers, 1 is accepted

Sort by
0
Tino
Top achievements
Rank 1
answered on 04 Mar 2018, 10:33 PM
Hi, please close/delete this thread.
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 05 Mar 2018, 12:55 PM
Hello, Tino, 

Thank you for writing.  

I suppose that you have already found a solution. However, I am posting the reply in the forum in order the community to benefit from it. In order to ensure that a certain item is brought into view you can select it by setting the RadCheckedListBox.SelectedItem property: 
this.radCheckedListBox1.SelectedItem = this.radCheckedListBox1.Items[30];

I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Reuben
Top achievements
Rank 1
commented on 01 Apr 2024, 04:24 PM

Thank you for not deleting this, it was the answer I was looking for!

I was just changing the items CheckState property to On and wanted to also scroll into view. I was also looking into ScrollTo but this has solved my dilemma.

 

Regards,

Reuben

0
Tino
Top achievements
Rank 1
answered on 05 Mar 2018, 09:22 PM
It was a badly worded question, I was in a hurry. I ended up using RadListView with checkboxes, and as you pointed out ScrollTo is not required.
Tags
CheckedListBox
Asked by
Tino
Top achievements
Rank 1
Answers by
Tino
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or