DataGridView Locks if BindingSource EndEdit causes Exception

2 posts, 0 answers
  1. David
    David  avatar
    67 posts
    Member since:
    Aug 2010

    Posted 20 Jan 2012 Link to this post


    I have a RadForm(Child) with a BindingSource a DataSet and a DataGridView

    the DataSet is populated from SQL and is then set as the BindingSource DataSource
    the DataGridView DataSource is then set to the BindingSource

    I also have a RadRibbonForm(Main)

    This has a RadRibbon, a RadDock. The IsMdiContainer is set to true and the RadDock is set to automaticly detect Mdi Children
    There is a button on the RadRibbonBar that will call endedit on the child form to save the data.

    This is now where I'm hitting a problem. If i call the endedit from a button on the Child form then any error is caught by the DataGridView and everything works as expected. If I call the EndEdit from the button on the RadRibbonBar then the EndEdit causes a Exception the error is still caught by the DataGridView but then the DataGridView is frozen/Locked and i cannot change any Values until I remove the afending line and click the button again.

    A Example Project can be Downloaded From

    Any Help would be Nice :D



  2. Stefan
    Stefan avatar
    2911 posts

    Posted 25 Jan 2012 Link to this post

    Hi David,

    I saw that you have opened a support thread regarding this matter. Lets keep our conversation there, where we can exchange files.
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Back to Top