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.
Clay,
How to Supress the Cell ErrorMessage (System Error Message).
I will handle this in the ''Save'' button. I do not want to display any error message.
Thanks
Satish
ADAdministrator Syncfusion Team July 28, 2004 06:06 AM UTC
In a GridControl, you can handle CurrentCellMoveFailed and set grid.CurrentCell.ErrorMessage = "" there to just suppress the message.
In a GridDataBoundGrid, you can do the same thing in the ValidateFailed event,
BUT, this will not allow your user to leave a cell in an invalid state. So, in a GridControl, if the celltype is double for example, you cannot leave it holding something that is not a double. The reason is that the grid cannot save this value for you, it can only save doubles. So, you will have considerable work to do to postpone checking if you want cells to ''temporarily save'' invalid values until later. One way this could be done is to use CellValueType = typeof(string) for all cells. Then there is not a problem for the grid saving things. Then later you could validate each string to see if it makes sense for the real type you want to see. It will take some work.