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
45
Events don't raised in grid
posted

 Hi,

 I'm using a UltraNumericEditor in two parts of my code, in one of them runs as UltraGridColum.EditorControl. In both parts, I'm suscribed to the UltraNumericEditor.KeyDown event, but where I'm using the control as  UltraGridColum.EditorControl the event is never raised.

What I have to do for enable the events?

 Cheers.

Parents
  • 37774
    posted

    Events like KeyDown are handled at the Control level.  When you set the EditorControl of a column, the UltraNumericEditor (or other editor controls) simply provide a cloned editor (not a control) for the grid to use, with many of the settings that were set on the control itself.  In this case, the grid itself will get the KeyDown, but you shouldn't expect many events to be fired on the control itself when used as an editor.

    -Matt

Reply Children
No Data