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
315
Losing current value of UltraCombo while clicking on DropDown button.
posted

I am using Infragistics.Win.UltraWinGrid.UltraCombo for getting the Drop down List.

and hence selected,  DropDownStyle = UltraComboStyle.DropDownList; But I'am losing it's value (i.e. udRuleContext.Value) when I click on drop-down button.

I am using following Method to bind RuleCombo and 'udRuleContext' is object of 'UltraCombo',

private void BindRuleCombo()
{
if (this.udRuleContext.DataSource != null)
{
this.udRuleContext.DataSource = null;
}

this.udRuleContext.DataSource = this.listSelRules;
this.udRuleContext.DisplayMember = "RuleName";
this.udRuleContext.ValueMember = "RuleName";
}

So, how can I tackle this issue so that the field's current value should not be lost while clicking the drop-down button?

I am using Infragistics Professional 2017 vol 1.

Parents Reply Children
No Data