RadlistBox issue

2 posts, 0 answers
  1. Todd
    Todd avatar
    13 posts
    Member since:
    Dec 2007

    Posted 13 Oct 2008 Link to this post

    Telerik team,

    I was hoping someone could assist me with a problem I am having?
    I currently have a radlistbox that I am using as a log window, which is working and looking very well until now. It seems that all the radlistbox items inside all have to be the same height. for example if I log a simple "hello" looks great but if i add another item into the listbox that says     "hello" [newline]
                                                                        "how" [newline]
                                                                        "are" [newline]
    the second item is now the same size as the first one.
    This comes as a big problem when trying to log exception data and stacktraces.

    Any help would be appreciated, thank you.

    Todd Kueny
  2. Angel
    Angel avatar
    121 posts

    Posted 14 Oct 2008 Link to this post

    Hello Todd,

    The equal height is due to optimization purposes. If you have less than 300 items, you can disable the UI virtualization and take advantage of the rich UI capabilities of the list box. All you have to do is to set the Virtualized property to false.

    If the items continue to be with equal height, then check the IntegralHeight property - it must be false too.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top