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

RadListBoxItem Height

2 Answers 97 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neo Cortex
Top achievements
Rank 1
Neo Cortex asked on 20 May 2010, 07:32 AM
We have a RadListBox populated with about 10 items.

The initial display is fine, but when we scroll down to see further items the height of each item is altered.
In the attached file the first image shows the correctly diplayed RadListBox. The second image shows the result of scrolling down only one item.

Worse: the scroll bar has not compensated for the altered height of each item so that it is impossible to scroll further down to the end of the list.

We have tried the following, but nothing works:
i. forced the items to not TextWrap,
ii. populate items with no image

Is it possible to prevent this behaviour?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 25 May 2010, 05:36 PM
Hello Neo Cortex,

RadListBox by default does no behave like this and does not handle items with different height very well. There is something in your application which causes this behavior. Please open a support ticket and post your application so that I may debug it and provide solution to the issue. Also specify the version that you are using.

A bit off topic, please ask the person who has purchased our controls in your company to add you as a License Developer to the purchase. This will give you full access to the products your company has purchased, to our downloads section, and to our support ticketing system. Additionally, all your questions will be reviewed according to the license you have. More information on License Developers you can find here: www.telerik.com/account/faqs.aspx.
 

Regards,
Victor
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.
0
Neo Cortex
Top achievements
Rank 1
answered on 28 May 2010, 06:28 AM
Thanks Victor,

There was something in our application that caused this behavior: the presence of a NewLine character in the text of a RadListBoxItem.

We have corrected the error and the RadListBox is functioning perfectly.

Thanks again!
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Neo Cortex
Top achievements
Rank 1
Answers by
Victor
Telerik team
Neo Cortex
Top achievements
Rank 1
Share this question
or