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

Expand direction

5 Answers 248 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
Daniel asked on 15 May 2013, 12:47 AM
Hi there, is there a way to change the direction that the dropdownlist expands, ie. from down to up? If not, can I make a feature request?

Thanks
Daniel

5 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 15 May 2013, 07:25 AM
Hi Daniel,

We will include such a property in our next official release - Q2 2013. It will be called ExpandDirection and will have two values - Up/Down
 

Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
answered on 15 May 2013, 10:17 PM
Excellent, thanks.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 11 Apr 2016, 01:39 PM
This is a nice feature, however, the dropdown list ought to detect screen boundaries and set its own expand direction accordingly if there isn't enough space (just like the rad combo box does). I have a dropdownlist in an edittemplate of a grid column which resides in some nested splitters, and a RadWindow. The dropdown lists do not detect the boundary of the Rad window and the dropdowns content cannot be seen. I am using controls version 2016.1.113.40
0
Bozhidar
Telerik team
answered on 11 Apr 2016, 03:23 PM
Hi,

With the DropDownList control we split up the two functionalities - detecting the edge of the screen, and choosing the direction based on the available space. In the version you are using the properties are already implemented:
EnableDirectionDetection="true" 
EnableScreenBoundaryDetection="true"

We chose to leave the DirectionDetection disabled by default so that we don't break the existing behavior for people using the DropDownList.

Try setting the EnableDirectionDetection to true for the DropDownList in your template and it should work as expected. 

Regards,
Bozhidar
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 11 Apr 2016, 03:36 PM
That did the trick. Thank you.
Tags
DropDownList
Asked by
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Bozhidar
Telerik team
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Share this question
or