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
240
Ultra Combo - ItemNotInList event
posted

Been using Infragistics for over 1 year now.  We built a framework around the Winforms controls.  We have Comboboxes that need to detect if the value entered exists in the list the box is bound to and prompt if the value is a new value.

Everything has been working great, up until a "fix" was made to the combobox so that if the value entered is not found in the column defined as the display column, the value column is searched.  If the value entered is found in the value column, the combobox now points to that row of the list.

It has been suggested to use the ItemNotInList event to trap for this situation.  GREAT!  However, putting code in this event works fine, except that you can not put any kind of prompt in this method.  Once the prompt is hit, the displayed value changes to the row that contains that value in the id column.  We need to figure out how to trap for values not found, without changing the displayed value.

Thanks for any help.

Parents Reply Children
No Data