Forcing RadComboBox drop down direction

2019-06-28 06:02发布

问题:

Users are desiring that the drop down window of a RadComboBox go up instead of down, regardless of where on the screen they are. Not sure why, but how would you implement this?

Note: I have a RadComboBox with a custom template, not the default implementation.

Thanks.

回答1:

You have to disable screen boundary detection. Then you can set the expand direction to "Up", e.g:

<telerik:RadComboBox runat="server"
    EnableScreenBoundaryDetection="false" ExpandDirection="Up" />

Update: it seems this also works without disabling EnableScreenBoundaryDetection.