Hi
As per this old thread for winforms controls (http://www.telerik.com/community/forums/winforms/combobox/alignment-of-wide-text-in-radcombobox.aspx) I need to left-align the text in a combobox, rather than right-align, after it is selected.
I have this code which works for ie9, but unfortunately I need it to also work for ie7 (o I hate u ie7 so much)
Is there a more Telerik-friendly way to do it?
Cheers
As per this old thread for winforms controls (http://www.telerik.com/community/forums/winforms/combobox/alignment-of-wide-text-in-radcombobox.aspx) I need to left-align the text in a combobox, rather than right-align, after it is selected.
I have this code which works for ie9, but unfortunately I need it to also work for ie7 (o I hate u ie7 so much)
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="150px" DropDownWidth="300px" OnClientSelectedIndexChanged="AlignLeftAfterSelectedIndexChange"></telerik:RadComboBox>function AlignLeftAfterSelectedIndexChange(sender) { var input = sender.get_inputDomElement(); input.setSelectionRange(0, 0);}Is there a more Telerik-friendly way to do it?
Cheers