The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
RRRajapandi Ravi Syncfusion Team October 1, 2021 12:02 PM UTC
Hi ISMAIL,
Greetings from Syncfusion support
From your update, we could see that you like to open your dialog Template (Add/Edit dialog) by using your custom toolbar button. You can open the Add/Edit dialog by calling the respective action method in the toolbarClick event of Grid.
In this event, when you are clicking on your customAdd button we have invoked the addRecord() method of Grid to open the Add dialog. And when you are clicking on your customEdit button we have invoked the startEdit() method to open the Edit dialog. At the time of calling the startEdit() if no record is selected in Grid, it will indicate the warning popup automatically. Please refer the below code example and sample for more information.
toolbarClick: function (args: any) { //toolbar click event of Grid