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

RadGridView

3 Answers 121 Views
GridView
This is a migrated thread and some comments may be shown as answers.
A L
Top achievements
Rank 1
A L asked on 04 May 2009, 12:34 PM
We are evaluating the RadControls for Winforms. Using the RadGridView that is bound to a custom object, when trying to add a new row we receive the following message:
System.MissingMethodException: Constructor on type 'MyObject.whatever' not found. at System.RuntimeType.CreateInstanceImp(bind......etc..
Most likely something up with our object but would like your advice.

Secondly, is there an event that is available to tie into the Add New Row event?

Thirdly, is there an event for the Filter Event before the filter is applied or evaluated, so that we can add some custom logic?


Thanks for the support!

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 06 May 2009, 08:20 AM
Hello A L,

Thanks for contacting us and for your interest in RadControls for WinForms.

I would like to ask you for some more time to answer your questions. We will probably be able to answer them in full tomorrow. Thank you for your patience.

Best wishes,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Albert
Top achievements
Rank 1
answered on 07 May 2009, 01:23 AM
Excellent. Eagerly waiting.  Also testing some other Custom Objects based on Rockford Lhotka's CSLA framework which experiences a similar error but here I believe I need to override the AddNewCore method.

0
Julian Benkov
Telerik team
answered on 08 May 2009, 10:57 AM
Hi A,

1) To bind a list of custom object to RadGridView and support all CRUD operations, the custom object must have default constructor and also implement INotifyPropertyChanged interface so that edit operation is supported for its properties. Also your list object must implement IBindingList interface to support notification for external and internal changes.

2) RowsChanging\RowsChanged events of RadGridview

3) FilterChanging event of RadGridview

Do not hesitate to write us back if you have further questions.

Sincerely yours,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
A L
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Albert
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or