Lookup OnChange event doesn't fire on hitting delete key to remove the lookup value. However, on changing lookup content (name) using keyboard it does fire.

Is this any bug or is by default?
How to trigger the OnChange event in this case?

有帮助吗?

解决方案

It will trigger when the control loses focus. So when you tab out of the lookup control, or click somewhere else in the form the event is fired. When you change the value in the lookup, except deleting, it will trigger right away.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top