Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1705
Copying and pasting into a cell with a combo box
posted

Hey guys,

I have a grid with a column that has its editor set to DropDownValidate.

The data type of the column is int.

The problem is when I try to copy text between cells of this column, the Error event fires twice with the following error messages:

 

Error performing Paste operation. Further information: Unable to convert the value 'MW1610-4' to the column's data type: Value could not be converted to System.Int64.         

------------------

Error performing Paste operation. Further information: Specified cast is not valid.
        
 
So I'm assuming that the grid tries to set the value to the column (the underlying object) instead of setting the value in the combo box and then grab the value of the item selected and set it to the underlying object.

Any help would be appreciated!

Thanks!

Parents Reply Children