Welcome to the Xceed Community | Help
Community Search  
More Search Options

"Attempt was made to end the edit process while it is already in the process of being ended"

Sort Posts: Previous Next
  •  07-14-2009, 11:42 PM Post no. 22588

    "Attempt was made to end the edit process while it is already in the process of being ended"

    After upgrading to v3.2 (3.2.9356.10060) , I have the following issue when "inserting" new row via the InsertionRow editor.

     "Attempt was made to end the edit process while it is already in the process of being ended"

     Symptoms/reproduce:

    - occurs on grids that use DataGridCollectionViewSource, but ok for grids that do not.
    - occurs on grids that initially have no data, and then enter some value in the insertion row's editor, 
    - The insertion will be succesful, but the insertion row editor validation "!" will show up , inserted value will remain and cell marked as red, the following tooltip will show when moouse over the cell.

    "Attempt was made to end the edit process while it is already in the process of being ended"- This only occurs on the first record insert, subsequent insertion is ok.

     Screenshot

    Help? 

    Regards,
    Fred 

  •  07-15-2009, 8:33 AM Post no. 22610 in reply to 22588

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Would it be possible for you to attach an application that reproduces the behavior you are reporting to this thread or to send it to support@xceed.com (with a reference to this thread)?
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  07-15-2009, 10:19 AM Post no. 22614 in reply to 22588

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Are you calling CommitNew?  If not, that could be the reason.
  •  07-15-2009, 4:03 PM Post no. 22643 in reply to 22614

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    CommitingNew? I'm just using standard grid using datagridcollectionviewsource and insertion row. 

  •  07-16-2009, 7:55 AM Post no. 22654 in reply to 22643

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Are you handling any events on the DataGridCollectionViewSource? Can you provide me with a sample that reproduces the behavior you are reporting?
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  07-16-2009, 8:37 AM Post no. 22656 in reply to 22654

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    I have the same issue after this upgrade (it's only in an empty grid).

    Update (to answer Jenny's question): Yes, we handle the Row_EditEnding and Row_EditEnded to either validate and save...

  •  07-16-2009, 9:19 AM Post no. 22659 in reply to 22656

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Can you provide me with a sample that reproduces the behavior you are reporting?
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  07-29-2009, 4:38 AM Post no. 22974 in reply to 22659

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Hi Jenny,

    I'm attaching the sample reproducing the bug.

  •  07-29-2009, 11:02 AM Post no. 22995 in reply to 22974

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    We have determined that the issue you are reporting is a bug and will be corrected in the upcoming 3.3 version. Thank you for bringing this to our attention.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  09-01-2009, 10:40 AM Post no. 23637 in reply to 22995

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Hi,

    This is to let you know that this issue is now fixed in version 3.5, which you can download in our Updates section here:

    http://xceed.com/pages/TopMenu/Downloads/Updates.aspx?Lang=EN-CA

     


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  01-17-2010, 12:32 PM Post no. 25441 in reply to 23637

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Hi,

     I have the exact same problem of inserting the first row into an empty grid, the row is added to the grid but the insertion row is left with red mark with the message "an attemp was made to end the edit process while it is already in the process of being ended".

    I have DataGridControl version 3.5.9616.13400.

     

    Ido. 

  •  01-17-2010, 1:32 PM Post no. 25442 in reply to 25441

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    I don't have such problem with the latest release (3.5.9616.13400).

    Can you provide the details of what you're doing? Is it the same as my provided sample here: http://xceed.com/CS/forums/storage/35/22974/DataGridControlWpfApplication.zip (http://xceed.com/CS/forums/permalink/25441/22974/ShowThread.aspx#22974)?

  •  03-16-2010, 8:48 AM Post no. 26111 in reply to 25441

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Hi,

    I still have this problem, not just in the first row but almost at every new row I add to the grid.

    I'm using my own implementation of IBindingList so it is possible that I'm doing something wrong.

    Can you please assist me to where should I start looking?

     

    Thank you,

    Ido. 

  •  03-16-2010, 9:16 AM Post no. 26113 in reply to 26111

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Hi Ido,

    I would first recommend that you download the latest build (3.6.10159) to see if that helps, and if not that you send a small test project that demonstrates the problem to support@xceed.com (include a link to this forum thread for reference).

     


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  03-16-2010, 9:28 AM Post no. 26114 in reply to 26113

    Re: "Attempt was made to end the edit process while it is already in the process of being ended"

    Why do you throw exception in this case?

     

    I suspect it happen to me due to the fact that DataGridContext.SetCurrent call EndEdit.

     Can you consider suppers this exception in future versions?

     

    Thank you,

    Ido. 

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.