Grid does not show tooltip validation messages for nested properties in .Net10

Hello,

I have a project using .Net10.  According to the Microsoft documentation (located here), one simply needs to decorate their parent object with the [ValidatableType] tag, and the child types, and their validation, will be discovered automatically.

This only partially works; the validation is flagged correctly, but the error message attached to the child field does not appear.

I have attached a project as an example.  The behaviour can be triggered by taking the following steps after launching the application:

  1. Navigate to "Validation Test"
  2. In the table that appears, click "add".
  3. Tab through the fields twice, without adding anything to either field.

The result I get is:
  1. Both fields correctly outlined in red as a validation error
  2. Only one field (Amount) displays the correct error message from its validation tag.

Please advise as to when this functionality might be working as expected (or if I've missed something obvious.)

Thanks
Christopher

(Edited to add that this happens whether the table's edit mode is Normal or Dialog.)


Attachment: SyncfusionValidationTesting_502fec4d.zip


2 Replies

GR Guhanathan Ramanathan Syncfusion Team February 20, 2026 01:44 PM UTC

Hi Christopher,

We have considered it as a bug and logged an issue “The Grid does not display tooltip validation messages for nested properties in .NET 10.” for the same. Thank you for taking the time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming patch release which is expected to be rolled out on or before 10th March 2025.

 You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    

Feedback:The Grid does not display tooltip validation messages for nested properties in .NET 10 in Blazor | Feedback Portal

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”

We will get back to you once the release is rolled out. Until then we appreciate your patience.

Regards,

Guhanathan R




NP Naveen Palanivel Syncfusion Team March 10, 2026 01:52 PM UTC

Thanks for your patience.


We are glad to announce that, we have included the fix for the “The Grid does not display tooltip validation messages for nested properties in .NET 10.” in our “v32.2.9 release.  So please upgrade to our latest version of Syncfusion NuGet package to resolve the reported issue. Please find the NuGet package for latest fixes and features from below.


NuGet: https://www.nuget.org/packages/Syncfusion.Blazor.Grid

Sample:
Check the attachment.

Root Cause:

At the time of column rendering, Column.ValidationRules is null. This occurs because, in the GridAnnotation.cs file, within the MapAnnotation method in the Annotation.cs file, the GetMetadataForProperty method fails to include the complex validation rules. As a result, the validation rules are not updated correctly.
In dotnet 9 infoAttribute.AttributeType?.Name? is "ValidateComplexType",
In dotnet 10 it is has RequriedAttribute.
DotNet 9 - https://learn.microsoft.com/en-us/aspnet/core/blazor/forms/validation?view=aspnetcore-9.0#nested-objects-collection-types-and-complex-types
DotNet 10 - https://learn.microsoft.com/en-us/aspnet/core/blazor/forms/validation?view=aspnetcore-10.0#nested-objects-and-collection-types

Corrective Actions Taken:

The model class contains ValidatableTypeAttribute, which resolves the issue.
The check is performed as follows: var hasValidatableTypeAttribute = modelType?.CustomAttributes.Any(ca => ca.AttributeType?.Name == "ValidatableTypeAttribute");


Attachment: SyncfusionTesting_c841a926.zip

Loader.
Up arrow icon