Hi Haneef,
I implemented the event handlers described above but none of them were hit when I dragged and dropped into Excel. I looked at one of the samples that had d&d and found that it took the values from the cell and moved them rather than copying them. It may be this that is causing the issue I'm seeing (index out of range) because its removing the cells. Is there any way to force it to only copy the contents of the cells rather than move them?
Also, are there any other ways of catching this messageBox as an exception so that it's not shown to the user?
Thanks,
Andy
>Hi Andy,
The CurrentCellErrorMessage has newly added in Essential Studio V4.2. In older version ( before V4.2 ) , you can customize/avoid the error messagebox in a cell by handling the CurrentCellValidating or CurrentCellValidate or CurrentCellValidateString event in a grid. Please refer to the below KB article for more details.
What are the different validation events and event members? When are they triggered and how are they used?Best Regards,
Haneef