Hi
In the provided code the RadGrid is not data bound properly. You should bind the grid to a declarative DataSource control or via the NeedDataSource event.
Also, in the sample code the automatic operations are enabled. Have in mind that in order to use automatic updates, inserts, deletes you should bind the grid to a declarative DataSource that supports automatic operations.
For your convenience I have prepared a sample project that illustrates the approach. In the sample there is a RadGrid that is data-bound via the NeedDataSource event. It also uses manual CRUD operations.
Regards,
Viktor Tachev
Telerik
,In the provided code the RadGrid is not data bound properly. You should bind the grid to a declarative DataSource control or via the NeedDataSource event.
Also, in the sample code the automatic operations are enabled. Have in mind that in order to use automatic updates, inserts, deletes you should bind the grid to a declarative DataSource that supports automatic operations.
For your convenience I have prepared a sample project that illustrates the approach. In the sample there is a RadGrid that is data-bound via the NeedDataSource event. It also uses manual CRUD operations.
Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items