We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Paste unsupported data to GDBG cell

Thread ID:

Created:

Updated:

Platform:

Replies:

19625 Sep 30,2004 12:09 PM UTC Sep 30,2004 12:34 PM UTC WinForms 1
loading
Tags: GridControl
James
Asked On September 30, 2004 12:09 PM UTC

Hi, We are using Syncfusion grid version 1.6.1.6. When pasting unsupported data (like image) to text cell in Data Bound Grid, we handled the event ClipboardCanPaste and set the GridCutPasteEventArgs''s Handled to true and Result to false. However the grid still calling GridCellRendererBase.NotifyCurrentCellChanging. That marked the grid''s data as changed. How do we prevent the cell changing event fired since we can''t paste the data and no change made to the cell. Thanks a lot! James

Administrator [Syncfusion]
Replied On September 30, 2004 12:34 PM UTC

I tried to reproduce this behavior in 2.1.0.9 with the sample below, but could not. The CurrentCellChanged event did not get raised, and renderer.NotifyCurrentCellChanging was not hit when you pasted. They both were only hit when you typed into the cell. Does this sample work for you? (If you get a syntax error when you try to compile it with 1.6.1.6, just comment out the lines with the errors.) AddNew_3765.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;