Vertical scrollbar

4 posts, 0 answers
  1. Vennila
    Vennila avatar
    6 posts
    Member since:
    Oct 2009

    Posted 19 Oct 2012 Link to this post

    Hi,

    Is there any way to show vertical scrollbar in RadAutoCompleteBox? I am setting MaxHeight and ScrollViewer.VerticalScrollBarVisibility="Auto" but still it is not showing Vertical scrollbar.

    Thanks,
    Binoy
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Oct 2012 Link to this post

    Hi BInoy,

    You just need to set MaxDropDownHeight property of the AutoCompleteBox, no ScrollViewer settings are needed in this case. For example;

    <telerik:RadAutoCompleteBox Width="200"
            ItemsSource="{Binding Countries, Source={StaticResource ViewModel}}"
            DisplayMemberPath="Name" MaxDropDownHeight="100"/>


    More information about key properties of the control can be found here.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Vennila
    Vennila avatar
    6 posts
    Member since:
    Oct 2009

    Posted 24 Oct 2012 Link to this post

    Hi Yana,

    I am sorry, I might not have clearly expressed the issue. I am talking about the RadAutoCompleteBox itself not the dropdown window. I have attached an image that shows the issue.

    The link you provided says that there is a property called MinimumPopulateDelay but I couldn't find that property (neither DP nor normal property).

    Thanks,
    Binoy
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 29 Oct 2012 Link to this post

    Hi Binoy,

    Currently you should modify the template of the AutoCompleteBox in order show the scrollbar - I've attached an example showing the approach. Note that I'm using Implicit Styles to style the control, so you should reference NoXaml assemblies.  We will fix this for Q3 SP release.

    As to the MinimumPopulateDelay property - it will be implemented in some of the future versions of RadAutoCompleteBox.

    We are sorry for the inconvenience, the help topic will be updated shortly.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top