Hi, i want to set some datagridview cells with an error message but browser dont show anything, same code on WinForm it’s Ok.
dataGridView1[1, 1].ErrorText = “Error”;
dataGridView1[2, 3].ErrorText = “Error”;
property ‘ShowCellErrors’ is True.
Attached sample with the problem and Winform version.
Best Regards,
Mariano
Interesting enough, setting the error in the data table works flawlessly.
BeginUpdate, EndUpdate do the trick, thanks Luca
There is an issue that will be fixed in the upcoming release that seems similar to this. If you hit refresh does it show the error icon?
If yes, use this as a workaround until the fix is available:
dataGridView1.BeginUpdate(); dataGridView1[1, 1].ErrorText = "Error"; dataGridView1[2, 3].ErrorText = "Error"; dataGridView1.EndUpdate();
Please login first to submit.