I am having a difficult time fixing a bug in my application. When I select an infragistics UltraDateTimeEditor an exception is thrown:
ArgumentNullException was unhandled -
EnterEditMode requires a embeddableElement parameterParameter name: embeddableElement
I can't figure out what this exception means so I can't find a way to fix it.
Hello,
It is hard to say what is causing this without any details. Can you tell what is your scenario, what are you doing to get this exception?
There are a lot of different reasons for this. Posting a small sample which reproduces the issue would be even better.
Thanks for the reply. Unfortunately it would be fairly difficult to create a sample that could reproduce the issue as the code is rather complicated, I'll first try my best to explain - I'm not confident that my explanation will help though as it's kind of strange.
I have a form that has this control and a datagridview. The datagridview has an editable column.
The bug can ONLY be reproduced with the following steps:
I click the UltraDateTimeEditor and change the date, I then must double click the DataGridView to edit a column.
There is an event in the UltraDateTimeEditor - Validated event.
When the validated event fires it makes a call to the back end to populate data in a dataset (call it DS1).
the DataGridView is bound to this DS1.
There is also a CellContentClick event for the dataGridView; however, the exception is thrown at the Validated event stage... during the backend call.
If this is not helpful I will try to create a code sample to reproduce the error.