We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Use of FluentValidation in Blazor Grid

Hello

We want to use the Blazor Grid for our projects. Everything looks promising and suites our needs.
But there is one thing... We use FluentValidation to validate before object persistence, because we have quite complex business rules.

My Question:
Is there a way to reuse our complex validation rules with the edit functionality of the blazor grid?

btw: We have a solution using the Standard Blazor EditForm and a Nuget package, but want to have the same functionality in the grid.

With best regards

Christian

1 Reply

VN Vignesh Natarajan Syncfusion Team November 18, 2019 05:43 AM

Hi Christian,  
 
Greetings from Syncfusion support.  
 
Query1: ” We use FluentValidation to validate before object persistence && Is there a way to reuse our complex validation rules with the edit functionality of the blazor grid? 
 
We can achieve your requirement using Custom validation feature. But currently we do not have support for custom validation for Blazor Grid. We have logged this as a feature task and added to our feature request list. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. We have added this feature request to our database. 
 
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We have considered this requirement for our 2019 Volume 4 release which is expected to rolled out in the month of December 2019.  
 
You can track the status of the issue, request timeline and contact us through the below feedback link  
 
 
Query2: “We have a solution using the Standard Blazor EditForm and a Nuget package, but want to have the same functionality in the grid. 
 
We can achieve your requirement using DialogTemplate editing feature of EjsGrid. We can render custom component inside the Dialog template and perform CRUD operation in Grid. Refer our UG documentation for your reference.  
 
 
If you want to use to same Blazor EditForm, then kindly get back to us with more details about your edit form.   
 
Regards, 
Vignesh Natarajan. 


Loader.
Live Chat Icon For mobile
Up arrow icon