I recently encountered a problem when using Edit Collections. I want to save the database immediately after editing Edit Collections.Is it possible to customize the Edit Collections template and add save buttons other than add and remove to achieve this?
I assume from your replies that you're referring to the CollectionEditor control. Please let me know if I'm mistaken in this assumption.
What I can suggest in such case is to simply handle the CollectionChanged event of the bound collection, if it implements the INotifyCollectionChanged interface and update the database accordingly each time the collection changes.
If you do want to add a custom button with which to update the database, you will need to modify the control template of the CollectionEditor control and add the new button bound to your custom command.
For your convenience, I've prepared a small sample project which demonstrates both approaches. Please have a look and let me know if you find it helpful.
Regards,
Dilyan Traykov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.