Hello all

I took the Html control and tried to add a databinding to it using Html property I added.

Now for loading it work great.

The problem starts when oushing back the value back to the datasource.

assume the next things:

I have: an object with two properties 1 color name and the second is the html representation of the color

"Red", "<span style=\"Color: Red;\">Item Red</span>"

etc...

I have a datagridview presenting all color names and next to it a text box with the current color name below it I have the Html conrol presenting the current object color representation.

All worked great even when I change the selected row the selected html content and color name changed (using binding surce off course)

The problem starts when I change the color name or any other property on the form (if there are any other) the text is changed on the datasource as expected but when I select a different row the html editor returns empty string.

now only on changing other properties the editor returns empty string when selection changed, when I change only the Html it works OK and the new Html data is pushed back correctly to the datasource object.

What am I missing am I suppose to implement any kind of interface or something like that in the Html editor class?