This is a migrated thread and some comments may be shown as answers.

DataGridView Locks if BindingSource EndEdit causes Exception

1 Answer 23 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 20 Jan 2012, 02:15 PM
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

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 25 Jan 2012, 09:57 AM
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).

Tags
RibbonBar
Asked by
David
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Share this question
or