Win7 Pack for WinForms

ComboBox

  •  craisbeck said 1 year ago:

    I put some combo boxes on a form with the intent of either choosing from the drop down or entering information by hand. When I enter something that is not in the list I get a validation error. Is there a way to allow this either or approach.

  •  C1_AndreyD23p said 1 year ago:

    Hi,

    Is this related to any ComponentOne products? If so, could you please provide a small sample that shows the issue?

    Thanks.

    -Andrey

  •  craisbeck said 1 year ago:

    This is related to the c1input form and the combo box control. I can try to get you an example if you need me to.

  •  C1_AndreyD23p said 1 year ago:

    I don’t know what is c1input form. Are you using a C1InputPanel control with the InputComboBox elements on it? Please describe the issue in more detail.

    Regards,

    -Andrey

  •  craisbeck said 1 year ago:

    Sorry for the confusion. I am using a 1InputPanel control with the InputComboBox elements on it. When I try to type data into the ComboBox that is not in the list, I get a validation error with a red box around the combobox. Does this help?

  •  C1_AndreyD23p said 1 year ago:

    You should leave the ValueMember property empty to avoid activating the data mapping mode. Also, you should bind data to the Text property of InputComboBox, not to the SelectedValue property. See the attached screen-shot.

    Regards,

    -Andrey

    Attachments:
    You must be logged in to view attched files.
    Answer
  •  craisbeck said 1 year ago:

    Thanks, Works Perfectly

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.