Home Forums WinForms controls Xceed Grid for WinForms Possible Thread Issue/Updating Grids

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14431 |

    I have a scenario where I have a gridControl which has a detailGrid which has its own subsequent detailGrid. I am now constantly running into the following error:

    {“An attempt was made to update a detail grid while it was already updating.”}

    I have gone through the code and made sure that anytime I am changing the grids I call BeginInit and EndInit and this has not helped. I am not creating any extra threads, either. I do have some call backs, but I don’t think this is the problem.

    Any help would be appreciated,

    Kelly

    Imported from legacy forums. Posted by Kelly (had 1854 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi Kelly,

    The problem was that, since you’re adding row in the InitializingDetailGrid events, this was getting called again and again by the calls to UpdateDetailGrids that you added many times.

    Thank you for sending the sample application to the support team 🙂

    Imported from legacy forums. Posted by Matt (had 2957 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.