If I choose CUT or DELETE from the context menu, I get a DBNull error popping up. Of course, this is not expected (is it ever?) since I spent a good chunk of time yesterday wrestling with the null issue and the image. I thought I had that thing licked.
What can I do about the delete/cut process on the pictureedit control?
Thanks,Bill
private void SketchPictureEdit_EditValueChanged(object sender, EventArgs e){ if (SketchPictureEdit.EditValue == new byte[] {}) { this.partsBO1.sketch = new byte[] {}; SketchPictureEdit.EditValue = string.Empty; } else { this.partsBO1.sketch = (byte[])SketchPictureEdit.EditValue; }}
Since I have the control bound to the data already, this was redundant. And, it caused other navigation problems at various points in the user experience.