Articles in this section
Category / Section

How to display the ErrorProvider icon in the cell alone by suppressing the error message in WinForms GridGroupingControl?

4 mins read

Show error provider icon in cell


When you want to suppress the error message in WinForms GridGroupingControl, you can disable the ShowErrorMessageBox property of the current cell.

//This property shows/hides the error icon.
this.gridGroupingControl1.TableControl.CurrentCell.ShowErrorIcon = true;

//Disabling this property hides the error message box.
this.gridGroupingControl1.TableControl.CurrentCell.ShowErrorMessageBox = false;
'This property shows/hides the error icon.
Me.gridGroupingControl1.TableControl.CurrentCell.ShowErrorIcon = True

'Disabling this property hides the error message box.
Me.gridGroupingControl1.TableControl.CurrentCell.ShowErrorMessageBox = False

After applying the properties, the grid is displayed as follows.

Show error provider icon in the cell


   Figure
1: Error provider icon in the cell


Samples:

C#: ErrorProvider icon

VB: ErrorProvider icon

 

Conclusion

I hope you enjoyed learning about how to display the ErrorProvider icon in the cell alone by suppressing the error message in the WinForms GridGroupingControl


You can refer to our WinForms GridGroupingControl’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms GridGroupingControl documentation to understand how to present and manipulate data.

 

For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms GridGroupingControl and other WinForms components.

 

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied