Hi,
I have an issue where I had originally set the combobox textbox alignment to the right with:
// **** Align Drop Down Box Text to Right
revPurgeCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
addPurgeCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
scrapCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
scrapRsnDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
// ************************
And it worked correctly. But then I decided I didn't want the user to be able to input anything, only select from drop down. So I added raddropdownstyle.dropdownlist:
// **** not allow use to type in
scrapCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
scrapRsnDropList.DropDownStyle = RadDropDownStyle.DropDownList;
revPurgeCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
addPurgeCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
// ************************
The raddropdownstyle.dropdownlist worked, but the alignment isn't working any longer. I tried to put this before and I tried after before it's the same. Am I doing something wrong? Here's what I have now:
// **** not allow use to type in
scrapCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
scrapRsnDropList.DropDownStyle = RadDropDownStyle.DropDownList;
revPurgeCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
addPurgeCodeDropList.DropDownStyle = RadDropDownStyle.DropDownList;
// ************************
// **** Align Drop Down Box Text to Right
revPurgeCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
addPurgeCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
scrapCodeDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
scrapRsnDropList.MultiColumnComboBoxElement.TextBoxElement.TextAlign = HorizontalAlignment.Right;
// ************************