Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Cannot pass the parameter 'X' to component 'Y' with rendermode 'InteractiveServerRenderMode'

If in a .NET 8 or .NET 9 application, an interactive child component takes a non-serializable parameter, such as a render fragment, the following exception is raised:

Cannot pass the parameter ‘X’ to component ‘Y’ with rendermode ‘InteractiveServerRenderMode’. This is because the parameter is of the delegate type ‘Microsoft.AspNetCore.Components.RenderFragment’, which is arbitrary code and cannot be serialized.

This exception can be raised for InteractiveServerRenderMode, InteractiveWasmRenderMode, and InteractiveAutoRenderMode. Refer to the following topic for more information: Child component with a serializable parameter.

To solve this issue, enable interactive render mode for a parent component that has serializable parameters only or make the entire page interactive. Refer to the following topic for more details: Enable Interactive Render Mode.