Horizontal scroll not be shown...

10 posts, 1 answers
  1. Jaehong
    Jaehong avatar
    10 posts
    Member since:
    Aug 2010

    Posted 11 Oct 2010 Link to this post

    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
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 12 Oct 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 12 Oct 2010 Link to this post

    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
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 12 Oct 2010 Link to this post

    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
  6. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 12 Oct 2010 Link to this post

    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
  7. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 12 Oct 2010 Link to this post

    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
  8. Jaehong
    Jaehong avatar
    10 posts
    Member since:
    Aug 2010

    Posted 12 Oct 2010 Link to this post

    I resolved this problem.
    Thanks for all replies.
  9. ZT885048
    ZT885048 avatar
    3 posts
    Member since:
    Apr 2012

    Posted 09 Nov 2012 Link to this post

    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 ?
  10. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 14 Nov 2012 Link to this post

    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
  11. ZT885048
    ZT885048 avatar
    3 posts
    Member since:
    Apr 2012

    Posted 19 Nov 2012 Link to this post

    Thanks for reply.

    It helps. and its taking less time now.
    thanks.
Back to Top
UI for WinForms is Visual Studio 2017 Ready