Exception throw when open Confirm Dialog #411

Closed
opened 2026-01-29 17:36:52 +00:00 by claunia · 1 comment
Owner

Originally created by @atolucky6 on GitHub (May 14, 2022).

Describe the bug
The exception throw while opening Confirm Dialog via DialogService.
The exception is System.NotSupportedException: 'Serialization and deserialization of 'System.Type' instances are not supported. Path: $.ChildContent.Method.ReturnParameter.Member.DeclaringType.'

You should add JsonIgnore attribute to ChildContent property of DialogOption class.

Originally created by @atolucky6 on GitHub (May 14, 2022). **Describe the bug** The exception throw while opening Confirm Dialog via DialogService. The exception is System.NotSupportedException: 'Serialization and deserialization of 'System.Type' instances are not supported. Path: $.ChildContent.Method.ReturnParameter.Member.DeclaringType.' You should add JsonIgnore attribute to ChildContent property of DialogOption class.
Author
Owner

@enchev commented on GitHub (May 16, 2022):

The provided information is not enough to reproduce the exception

@enchev commented on GitHub (May 16, 2022): The provided information is not enough to reproduce the exception
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#411