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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to know programmatically if the grid has any error?

Platform: Silverlight |
Control: GridDataControl |
.NET Framework: 4 |
Product Version:

GridDataControl enables you to get the error info for each cell using QueryCellInfo event. The HasErrorInfo property indicates you whether the particular cell has any error information or not. When the cell has any error you can use ErrorInfo property to get the error information of that particular cell. Refer the following code snippet.



Here, you can check whether the cell has any error using “HasErrorInfo”. When there is any error, an ErrorInfo displays in the output window, else “No errors” displays in the output window.

Other properties related to ErrorInfo are given as follows.


Property Name

Return Type




Checks whether any Error has been initialized for the current object.



Contains error information when a text could not be converted to the type specified with CellValueType.



Checks whether the current object has any error alert text.



Gets or sets the error alert text. Holds the error alert text when importing the excel file to grid.



Checks whether the current object has any error alert title.



Gets or sets the error alert title. Holds the error alert title while importing the excel file to grid.

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile