Hello,
I attached a sample project illustrating the issue. When you open the UltraGridRowEditTemplate from a row in the grid and start tabbing through the UltraGridCellProxies the last one (address) will always lose its backcolor when you tab out while it retains its alphalevel. This seems to be a bug in my opinion and if not how can I fix it?
Thanks.
Thank you for sending your sample. I tested this out on my end and I can see that the backcolor of the address field doesn't change to blue when tabbing away from it. Clicking on another field works as expected.
I also noticed that this seems to be related to giving focus to a button instead of another field. When using Shift+Tab to cycle backwards, it's the first field that exhibits the behavior instead. I can get it to happen by clicking (and holding, so as not to close the template) on a button from any field.
I will write this up for further review and keep you updated on what we find out.
Hey
Your analysis is correct so far. I just wanted to add that the problem doesn't only occur when the focus gets shifted to a button. Instead it happens when the focus gets shited to any control (Textbox, Combobox whatever) that isnt an UltragridCellProxy inside the UltraGridRowEditTemplate.
I have investigated your issue and I have asked our engineering staff to examine it further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 240981. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix or other resolution.
Please let me know if you need more information.
Our development team has completed their investigation and we have determined that this is not a bug. The reason for this happening is that there is an ActiveCellAppearance applied to the grid. This is why the cell proxies change color when editing them. So in the RowEditTemplate, when you click or set focus to another UltraGridCellProxy, you are changing the ActiveCell in the grid, so the previously-active proxy no longer shows the ActiveCellAppearance. But when you move from an active UltraGridCellProxy to some other control, like a button, the previous proxy is still the ActiveCell, so it still shows the ActiveCellAppearance.
Please let me know if you have any further questions.
The ActiveCellAppearance in your sample doesn't seem to be doing a whole lot, anyway, so it seems like you might want to consider simply removing it.