I want to use DynamicComponent to add a preDefiend component dynamiclly to razor page when a button clicked.
when i build project this error appeared:
error: CS1662 Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I want to use DynamicComponent to add a preDefiend component dynamiclly to razor page when a button clicked.
when i build project this error appeared:
error: CS1662 Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.