# Issue with v10 SyntaxEdit with DevExpress controls

**URL:** https://forum.alternetsoft.com/t/issue-with-v10-syntaxedit-with-devexpress-controls/507
**Category:** AlterNET Studio Support
**Created:** [August 11, 2025, 10:12pm UTC](https://forum.alternetsoft.com/t/issue-with-v10-syntaxedit-with-devexpress-controls/507 "2025-08-11T22:12:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sirokai](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/s/606060/32.png) [@Sirokai](https://forum.alternetsoft.com/u/Sirokai)
#### Post date: [August 11, 2025, 10:12pm UTC](https://forum.alternetsoft.com/t/issue-with-v10-syntaxedit-with-devexpress-controls/507/1 "2025-08-11T22:12:01Z")

</div>

Hi, I’ve recently upgraded to v10. I have a form with a SyntaxEdit control and a DevExpress grid control (Windows forms) amongst others. Since upgrading, I receive an error message when assigning a datasource to the grid:

SystemError: The type initializer for ‘IEditableCollectionViewHelper’ threw an exception.  
Inner exception: SystemError: Object reference not set to an instance of an object.

After I receive the error, I keep on getting the error when I assign data to any grid on any form.

This error only occurs if I assign text to the SyntaxEdit control. If I leave it blank, it’s fine.

I’ve discovered that this only occurs in v10 - I have rolled back to 9.5.16 and it works fine (using the same version of DevExpress controls).

Any ideas?

---

<div class="post-metadata">

### Author: ![generalloki](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/generalloki/32/225_2.png) [@generalloki](https://forum.alternetsoft.com/u/generalloki)
#### Post date: [August 12, 2025, 7:28am UTC](https://forum.alternetsoft.com/t/issue-with-v10-syntaxedit-with-devexpress-controls/507/2 "2025-08-12T07:28:04Z")

</div>

Could you please attach a sample project that demonstrates the issue? Does it occur in a .NET Framework or .NET Core application? I tried to reproduce the problem in a .NET Core app, but the DataSource was assigned to the DevExpress grid without any issues. Is this a design-time or run-time issue?

---

<div class="post-metadata">

### Author: ![Sirokai](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/s/606060/32.png) [@Sirokai](https://forum.alternetsoft.com/u/Sirokai)
#### Post date: [August 12, 2025, 7:50pm UTC](https://forum.alternetsoft.com/t/issue-with-v10-syntaxedit-with-devexpress-controls/507/3 "2025-08-12T19:50:32Z")

</div>

Thanks for your reply. I can’t get it to happen in a standalone application - there is obviously something else at play. Once I’ve pinned down the culprit I’ll post an update.
