My datasource doesn't support IDataErrorInfo, so I decided to just programmatically code for displaying the error icon through the use of ErrorProvider. I created a control derived from UltraTextEditor and added ErrorProvider to it. Standalone the error icon shows, but if I embed the control to a grid the error icon doesn't show. I just need the error icon on the actual cell I'm editing.
Any ideas? Or is there a better way to achieve what I want?
It seems that this will make the control to behave inconsistently. Is there a specific code pattern we should follow when using a controlcontainer?
Thank you very much for your response. The mentioned behavior with events are expected and by design. Let me know if you have any further questions.
Regrads
We were using controlcontainer before, but we are having some issues with the event from the control not firing anymore in some cases.
We were hoping we can just use an UltraTextEditor with some buttons. We have a case where we need to overwrite the user entered value (of the cell) to another value when the user does something in the embedded control. When this happens, Enter and Tab seem to be caught by the grid immediately instead of the embedded control.
We are on version 9.2.
We did ended up using the controlcontainer and accepted the limitations.
Hi,
Have you been able to resolve your issue ? Did you have a time to take a look at the attached sample. Let me know if you have any questions.
Regards
Hello,
I made small sample for you. Could you please take a look at the attached sample and video file for more details and let me know if you have any questions.