Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > DataGridView Locks if BindingSource EndEdit causes Exception

Not answered DataGridView Locks if BindingSource EndEdit causes Exception

Feed from this thread
  • David avatar

    Posted on Jan 20, 2012 (permalink)

    Hi,

    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 ExampleProject.zip

    Any Help would be Nice :D

    Thanks

    David

    Reply

  • Stefan Stefan admin's avatar

    Posted on Jan 25, 2012 (permalink)

    Hi David,

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

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > DataGridView Locks if BindingSource EndEdit causes Exception
Related resources for "DataGridView Locks if BindingSource EndEdit causes Exception"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]