We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Combodropdown dropdownheight

Thread ID:

Created:

Updated:

Platform:

Replies:

124232 May 25,2016 12:28 PM May 27,2016 01:54 AM Windows Forms 4
loading
Tags: ComboDropDown
Adam Bruss
Asked On May 25, 2016 12:28 PM

Hello,

I have a combodropdown with a treeviewadv in it as the popupcontrol. Everything works fine except the dropdown height of the combodropdown is way too tall and I don't know how to change it. I can change the dropdownwidth of the combodropdown with a public property. How do I change the dropdownheight?

Thanks,
Adam

Adam Bruss
Replied On May 25, 2016 12:32 PM

Also is there a way to make the textfield of the combodropdown read only while still allowing the user to dropdown and edit the popupcontrol?

Keerthana Jegannathan [Syncfusion]
Replied On May 26, 2016 10:54 AM

Hi Adam, 
 
Thank you for contacting Syncfusion support. 
 
The reported requirement can be achieved by increasing the height of the custom control which is added as drop down in ComboDropdown. Please refer to the below code snippet. 
 
Code Example : C# 
//To increase the height of TreeViewAdv 
 
this.treeViewAdv1.Height = 400; 
 
 
We have prepared  a sample and video for your reference which can be downloaded from the below location. 
 
 
 
Screenshot 
 
 
 
Regards, 
 
Keerthana 


Adam Bruss
Replied On May 26, 2016 05:13 PM

Thanks Keerthana. That works for the dropdown height.

What about the text field in the combodropdown? Can I make that readonly? The user shouldn't be able to edit it.

Thanks,
Adam

Keerthana Jegannathan [Syncfusion]
Replied On May 27, 2016 01:54 AM

Hi Adam, 
 
Thank you for your update. 
 
The reported requirement can be achieved by setting the property named DropDownStyle as DropDownList. We have prepared sample and video for your reference which can be downloaded from the below location. 
 
 
 
 
Screenshot 
 
 
 
Regards, 
Keerthana 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;