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

Horizontal scroll not be shown...

9 Answers 112 Views
ListControl
This is a migrated thread and some comments may be shown as answers.
Jaehong
Top achievements
Rank 1
Jaehong asked on 12 Oct 2010, 04:01 AM
I have WinForm Q2 2010 SP2.
Update changes notify adding horizontal scroll in RadListControl.
But, When inserting long text item, it still do not show horizontal scroll automatically.
What I do for it?
I'm using HTML rendering.
Below link will show this problem.
RadListControl problem

9 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 12 Oct 2010, 09:20 AM
Hi, 

As far as I know, this is not implemented yet. Refer to your previous forum post
I don't see this as an issue on PITS so it may be worth requesting it gets added. 

Hope that helps
Richard
0
Emanuel Varga
Top achievements
Rank 1
answered on 12 Oct 2010, 11:32 AM
Hello Jaehong,

You could try setting:
this.radListControl1.AutoSizeItems = true;

It could help but I'm not sure in this case.

Best Regards,
Emanuel Varga
0
Richard Slade
Top achievements
Rank 2
answered on 12 Oct 2010, 11:38 AM
Hi Emanuel, 

That setting does push HTML text onto the next line (wraps the text) but no scrollbar. I guess at least it does help to show all the content. 
Hope you're well. 
Richard
0
Accepted
Stefan
Telerik team
answered on 12 Oct 2010, 11:45 AM
Hello guys, 

Thank you both for writing.

The desired behavior can be easily achieved by using the following property settings:
radDropDownList1.AutoSizeItems = true;
radDropDownList1.FitItemsToSize = false;

We plan to expose a single property which will do the trick in one of the next releases. 

I hope you find this information helpful. If there is anything else I can assist you with, do not hesitate to contact me.
 
Sincerely yours,
Stefan
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
Emanuel Varga
Top achievements
Rank 1
answered on 12 Oct 2010, 11:51 AM
Hello,

This sounds extremely strange to me, so don't fit the items to size, but auto size them?
But on the good side, it is showing scroll bars like this.

Best Regards,
Emanuel Varga
0
Jaehong
Top achievements
Rank 1
answered on 13 Oct 2010, 01:10 AM
I resolved this problem.
Thanks for all replies.
0
ZT885048
Top achievements
Rank 1
answered on 09 Nov 2012, 01:00 PM
Same solution is working fine.
But when the data is large(1000 items) it takes more time(5 to 10 seconds).
if we add the items with loop.

Is there any solution for slowness ?
0
Peter
Telerik team
answered on 14 Nov 2012, 11:51 AM
Hi,

Thank you for writing.

The AutoSizeItems slows down the performance because each item is measured individually - this happens when items are added. It is better to set AutoSizeItems to True after the loop where items are added. Also I would recommend to place this loop in BeginUpdate/EndUpdate:
radDropDownList1.AutoSizeItems = false;
radDropDownList1.BeginUpdate();
for(int i=0;i<10000;++i).....
radDropDownList1.EndUpdate();
radDropDownList1.AutoSizeItems = true;

I hope this helps.

Best wishes,
Peter
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
ZT885048
Top achievements
Rank 1
answered on 19 Nov 2012, 02:54 PM
Thanks for reply.

It helps. and its taking less time now.
thanks.
Tags
ListControl
Asked by
Jaehong
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Emanuel Varga
Top achievements
Rank 1
Stefan
Telerik team
Jaehong
Top achievements
Rank 1
ZT885048
Top achievements
Rank 1
Peter
Telerik team
Share this question
or