Thank you for writing.
Deleting the sections or blocks in this manner leaves the editor in an invalid state. In order to accomplish your task, you can call the Clear method of the Blocks and Sections collections respectively:
In case, you would like to delete the contents of the editor you can perform a selection and then clear the contents:
I hope this helps. Should you have further questions please do not hesitate to write back.
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.