Inline editor does not work for template content blocks (5.1, 6.1 Sitefinity)
1. create new template
and content block and some text to it
Create new page based on just created template
add content block and some text in it
Now you can go to page and both text content blocks are shown. Enable inline editing tools. You can see two edit buttons: one for content block on a page and one for content block on a template. When you edit content block on a page, everything works as expected. But when you try editing content block on a template nothing happens. if you check put response you will see:
""Detail":"Unable to cast object of type 'Telerik.Sitefinity.Pages.Model.TemplateControl' to type 'Telerik.Sitefinity.Pages.Model.PageControl'.""
I know that we could use shared content blocks and etc. workarounds, but in a long run this issue will create an unnecessary overhead.
I have answered to you in the support ticket you have opened.
What was the answer?
Here is the reply provided in the support ticket: