Combobox scrolling

3 posts, 1 answers
  1. Meerkat
    Meerkat avatar
    64 posts
    Member since:
    Feb 2007

    Posted 17 Jul 2008 Link to this post

    Thanks to your help, your new combobox is now almost working in my project.
    I have one tiny problem though. I have about 100 items to view so I thought I would just add a scrollbar with the following


    telerik:RadComboBox x:Name="ddlCounty" scrollViewer.VerticalScrollBarVisibility="Auto" />

    Sadly, the above line gives the following error
    unknown attribute ScrollViewer.VerticalScrollBarVisibility on element RadComboBox

    I am sure I have just done something wrong and there is another way of enabling scrolling.

    Can someone please help me with this ?


  2. Answer
    Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 19 Jul 2008 Link to this post

    Hello Pete,

    If I am right, setting the MaxDropDownHeight property of RadComboBox will fix your problem:
    <telerik:RadComboBox MaxDropDownHeight="300" />

    In the latest CTP this property was initially set to double.PositiveInfinity, which effectively prevents the scrollbars from showing. The upcoming beta will contain a reasonable default value for that property.

    Valeri Hristov (Silverlight Team)
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Meerkat
    Meerkat avatar
    64 posts
    Member since:
    Feb 2007

    Posted 20 Jul 2008 Link to this post

    That was the answer!
    Thanks Valeri,

Back to Top