We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectionChangeCommitted does not fire when DisplayMember doesn''t change

Thread ID:

Created:

Updated:

Platform:

Replies:

11397 Mar 4,2004 06:38 PM UTC Mar 4,2004 08:38 PM UTC WinForms 3
loading
Tags: Tools
Cole Shelton
Asked On March 4, 2004 06:38 PM UTC

Hi all, I am using the ComboBoxAdv control. I have noticed that when I have two values in my DataView that have DisplayMembers that are equal but ValueMembers that differ, the selectionchangecommitted event does not fire. For example, if i had two rows in my DataView such as: DisplayMember ValueMember Student1 1 Student1 2 SelectionChangeCommitted will not fire when I switch between the two of them in the ComboBox. Is this "by design"? Cole

Cole Shelton
Replied On March 4, 2004 06:42 PM UTC

Here is additional info: Init: this.cboClient.Anchor = System.Windows.Forms.AnchorStyles.Top; this.cboClient.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.cboClient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboClient.DroppedDown = false; this.cboClient.FlatBorderColor = System.Drawing.SystemColors.ControlText; this.cboClient.Location = new System.Drawing.Point(24, 24); this.cboClient.Name = "cboClient"; this.cboClient.SelectedIndex = -1; this.cboClient.Size = new System.Drawing.Size(256, 21); this.cboClient.TabIndex = 0; DataSource: cboClient.DataSource = vwClient; cboClient.DisplayMember = "SCLIENTNAME"; cboClient.ValueMember = "NCLIENTID"; >Hi all, > >I am using the ComboBoxAdv control. I have noticed that when I have two values in my DataView that have DisplayMembers that are equal but ValueMembers that differ, the selectionchangecommitted event does not fire. For example, if i had two rows in my DataView such as: > >DisplayMember ValueMember >Student1 1 >Student1 2 > >SelectionChangeCommitted will not fire when I switch between the two of them in the ComboBox. > >Is this "by design"? > >Cole

Cole Shelton
Replied On March 4, 2004 07:14 PM UTC

FYI.. SelectedIndexChanged and SelectedValueChanged exhibit the same behavior.

Administrator [Syncfusion]
Replied On March 4, 2004 08:38 PM UTC

Hi Cole, Thanks for bringing this issue to our attention. I could reproduce the problem here and have notified the development team in this regard. I will update you as soon as I hear from them. We appreciate your patience and cooperation. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;