Hiding dropdown arrow

Thread is closed for posting
2 posts, 0 answers
  1. Ian Lekhac
    Ian Lekhac avatar
    1 posts
    Member since:
    Nov 2009

    Posted 12 Nov 2009 Link to this post

    Is there any way to hide the dropdown arrow in order to create an autocomplete textbox? I know you can do it in your ASP controls but I can't find an equivalent way to do it in the winforms controls. Thanks
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 17 Nov 2009 Link to this post

    Hello Ian,

    You can easily hide the RadArrowButtonElement of the RadComboBoxElement by using the following code snippet:

    RadArrowButtonElement arrowButton = this.radComboBox1.ComboBoxElement.FindDescendant<RadArrowButtonElement>();
    if (arrowButton != null)
        arrowButton.Visibility = ElementVisibility.Collapsed;

    I hope this is helpful. Do not hesitate to write back if you need further assistance.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top