DatagridViewImageColumn and DataPropertyName Bug

0
0

Hello,

In version 1.4.88 I have a problem with the DataPropertyName property of DataGridViewImageColumn .
I have customized the DataGridViewImageColumn to display different images for a Boolean field. The datagridview is populated with a bindingsource. I have also disabled the AutoGenerateColumns property and add columns by code. For each columns I set the DataPropertyName property.
On the CellPaint event I customize the drawing of the image.

The DataPropertyName throws the following error for the column of type DataGridViewImageColumn:

Invalid operation…. in Wisej.Web.DataGridViewImageColumn.set_ValueType(Type value) in…….

That everything works on the versioe 1.4.50.
Attached I uploaded my trial demo and the error image.

Thank in advance

  • You must to post comments
0
0

Hi Frank,

I have installed the 1.4.91.0 release and now work fine.

Thanks

  • You must to post comments
0
0

Hi Angelo,

WJ-8927 is fixed in the latest dev build (1.4.91).

Best regards
Frank

  • You must to post comments
0
0

Thanks Angelo,

we could reproduce the problem and logged it as issue WJ-8927.

We´ll inform you when a fix is available.

Best regards
Frank

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.