Forcing RadComboBox drop down direction

拥有回忆 提交于 2019-12-10 13:51:55

问题


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.



来源:https://stackoverflow.com/questions/9178911/forcing-radcombobox-drop-down-direction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!