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.
i have a GridGroupingControl and want do disable clicking in the next line when i get an error while line change.
For example:
I want to add a new record with 3 Fields at the top of the grid. After changing the line or press enter want to check if one these fields is emty. If one field is empty the i want that the user becomes a message like "Error saving Data, because one field is empty".
At this point i want the stay in the current ("Add new line") line at the top (don´t change the line!) that the user has the posibility to add some data to the empty field and try to save the line ones more.
I see a validate value event, that has the behavior i wish to have but i only able to say "only allow numeric". Theres no possibility for me to add an own validation with "checkEmptyFields()" or something like this!
I spend a lot of time find a solution, but i found nothing.
I would be very thankfull, when you can give me urgent help.
Take a look at the "DataSourceControlRowAdding" event. There is a handled and a canceled property. Set canceled to true and the line stays in edit mode.
MRMartin RumbohmNovember 13, 2009 08:36 AM UTC
sorry. I see that i post in the wrong forum. I work with windows forms in vb.net and not in asp.net.
sorry for my inconvenience.
best regards,
BMBharath M Syncfusion Team November 16, 2009 09:55 PM UTC