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

Drop Down Menu Position

3 Answers 72 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Levi
Top achievements
Rank 1
Levi asked on 02 Apr 2009, 05:02 AM
I currently have a combo box with a custom item template. Is there a way to cause the drop down menu to be offset left by X number of pixels. I basically don't want the combo box to open directly underneath, but instead off to the left. Wasn't sure if there was a way to do this?

Thanks,
Levi

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 02 Apr 2009, 07:09 AM
Hello Levi,

Try setting the OffsetX property of RadComboBox to negative value for displaying dropdown to left of RadcomboBox.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="300px" AllowCustomText="true" OffsetX="-100" >   
       <Items> 
         . . .  
       </Items>   
</telerik:RadComboBox> 

Thanks,
Princy.
0
Levi
Top achievements
Rank 1
answered on 02 Apr 2009, 01:31 PM
Works perfect. Thanks!
0
Görkem
Top achievements
Rank 1
answered on 16 Nov 2014, 12:19 PM
Is there any way to do it in Silverlight .xaml ?
Tags
ComboBox
Asked by
Levi
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Levi
Top achievements
Rank 1
Görkem
Top achievements
Rank 1
Share this question
or