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
80
New Value in DropDown Bound Cell
posted

I have a cell that has an ID for an employee. The cell's valuelist is a UltraDropDown control. When the user types into it, if the value does not exist in the drop down I need some code to fire off that creates a new Employee based off of what they typed in. The problem is that I can't figure out how to do that. I am trying to use the CellDataError event to stop the invalid data error from coming up, but in that event I don't have access to the text that the user typed in so I can't create my new employee. Does anyone have any ideas how I can accomplish what I need?

 

Thanks.

Parents
  • 469350
    Suggested Answer
    Offline posted

    Try using the BeforeExitEdtiMode event of the grid. You can call IsItemInList on the UltraDropDown to determine if the item is on the list.

Reply Children