[DevExpress Support Team: CLONED FROM T306397: ASPxGridView - How to add a custom control to EditFormLayout for an unbound column]
Unfortunately I can't confirm that this is the solution; in order to get the FindEditFormLayoutItemTemplateControl method I downloaded the hotfix which was provided in the link you provided. However, within that hotfix there appears to be an issue with how compound primary keys are handled in GridViews. I've attached a project which demonstrates this issue. The project is currently upgraded to that hotfix revision and will fail with the first call, but succeed on the second. If you downgrade it to the vanilla 15.1 or to 14.7, it will succeed.
ASPxGridView - "Object reference not set to an instance of an object" error when a complex KeyFieldName is used
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v15.2.4Download Official Update
- v15.1.8Download Official Update
Hello Marisa,
Thank you for the sample. I have reproduced this behavior and redirected the issue to our developers. We will inform you as soon as we have any updates.
I'm currently blocked on a project due to this issue--is there any word on when a hotfix to the hotfix will be available? I think I can hack something together to get it to work, but of course I would much prefer it to be working.
Hello,
Our developers are working on this issue. We will do our best to address this issue as soon as possible and will post updates to this ticket once any news is available.