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
308
Getting Copy Error in "ultraGrid1.PerformAction(UltraGridAction.Copy);"
posted

Hi,

I am using a UltraGrid to which i have binded a class object derived from IBindingList.

I am copying the whole row for pasting it.

Issue is when i am using "ultraGrid1.PerformAction(UltraGridAction.Copy);" , I am getting the following error

Error performing copy operation: Requested Clipboard operation did not succeed

How can i figure out where is the problem lies.

One more question: If we copy paste the ultragrid row will it automatically update the binded object.

Please help!!!

Regards,

Sanjiv

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Sanjiv,

    sanjiv_aneja said:

    Issue is when i am using "ultraGrid1.PerformAction(UltraGridAction.Copy);" , I am getting the following error

    Error performing copy operation: Requested Clipboard operation did not succeed

    I've never heard of that error message before. My best guess is that some of the data in the row is of an unusual type that cannot be serialized, but that's just a guess. What are the DataTypes of the columns in the grid?

    sanjiv_aneja said:
    One more question: If we copy paste the ultragrid row will it automatically update the binded object.

    I'm not sure what you mean by this. If you add a row to the grid or change the data in a row, it will update the grid's DataSource, of course. It doesn't matter if you paste or type.

     

Children