This is a migrated thread and some comments may be shown as answers.

Hiding dropdown arrow

1 Answer 353 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ian Lekhac
Top achievements
Rank 1
Ian Lekhac asked on 12 Nov 2009, 11:31 PM
Hi,
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

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 17 Nov 2009, 05:16 PM
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,
Deyan
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.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Ian Lekhac
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or