Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Appear an empty space
posted
Hi~
I have some issue of an UltraComboEditor.
When I was added items, Korean and English, an empty space and scroll appear at the dropdown.
But only Korean or English is no problem.
Thank you in Advance.
//sample code is here.
Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
// good work
this.ultraComboEditor1.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
valueListItem1.DataValue = "ValueListItem0";
valueListItem1.DisplayText = "한글";//Add Korean
valueListItem2.DataValue = "ValueListItem1";
valueListItem2.DisplayText = "두글";//Add Korean
valueListItem3.DataValue = "ValueListItem2";
valueListItem3.DisplayText = "세글";//Add Korean
valueListItem4.DataValue = "ValueListItem3";
valueListItem4.DisplayText = "네글";//Add Korean
this.ultraComboEditor1.Items.AddRange(new Infragistics.Win.ValueListItem[] {
valueListItem1,
valueListItem2,
valueListItem3,
valueListItem4});
// good work
this.ultraComboEditor2.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
valueListItem5.DataValue = "ValueListItem0";
valueListItem5.DisplayText = "AAAAAA";
valueListItem6.DataValue = "ValueListItem1";
valueListItem6.DisplayText = "BBBB";
valueListItem7.DataValue = "ValueListItem2";
valueListItem7.DisplayText = "CCCCC";
valueListItem8.DataValue = "ValueListItem3";
valueListItem8.DisplayText = "DDDD";
this.ultraComboEditor2.Items.AddRange(new Infragistics.Win.ValueListItem[] {
valueListItem5,
valueListItem6,
valueListItem7,
valueListItem8});
// something wrong
this.ultraComboEditor3.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
valueListItem9.DataValue = "ValueListItem0";
valueListItem9.DisplayText = "AAAA";
valueListItem10.DataValue = "ValueListItem1";
valueListItem10.DisplayText = "한글";//Add Korean
valueListItem11.DataValue = "ValueListItem2";
valueListItem11.DisplayText = "CCCCC";
valueListItem12.DataValue = "ValueListItem3";
valueListItem12.DisplayText = "두글";//Add Korean
this.ultraComboEditor3.Items.AddRange(new Infragistics.Win.ValueListItem[] {
valueListItem9,
valueListItem10,
valueListItem11,
valueListItem12});