I am trying to use a grid row edit template for the first time, and I am running into a problem with the ultragridcellproxy controls. They do not appear to fire any events. I am trying to modify values based on others in the template, but the text changed event is never firing.
It seems that it would be pretty silly to have an event that doesn't fire, so I assume that either I need to do something special to enable events or it is a bug. Does anyone know how to get these controls to fire events?
Thanks. That would explain the 'odd' behavious on the 'leave' event (of the cell proxy)
If the 'leave' event is fired when you press the tab to go to the next control (cell) - why not when you click on another proxy cell in the template for the grid?
The leave event only works on a tab (not when you click on another cell proxy control ) ! Infragistics 10.2 (may need to check 10.3) or properties
I would think that the cells that have ValueLists in the grid should be picking up them when used in the RowEditTemplate, so this is likely a bug and should be submitted to Developer Support. As for the issue about listing events on the proxies, none of those events are provided by the proxy itself; rather, it is the base .NET Control class that provides all of these events, including TextChanged.
-Matt
This isn't true, as my cells with value lists do not have values lists in the row template, and I had to replace the grid proxy controls with combo boxes.
I had gone ahead and used the grid cell changed event when I couldn't figure this out, but it seems silly to call this code very time any cell is changed as opposed to just when the control is edited.
Why list events on this control at all if they are not fired?
An UltraGridCellProxy simply hosts the editor that the underlying cell would have used if you had put it into edit mode; you can think of this as basically taking the cell and putting it somewhere else. As such, the events will be fired off of the grid itself and not off of the proxy, so you should still be able to use events like CellChange, AfterCellUpdated, etc.