I have a block that will be used both as local block and shared block. When I use it as local block I'd like to have proper on-page editing (no pop-up with forms editing). Is that doable?
I've tried rendering the block view with Html.Renderpartial and add ContentDataPropertyName edit hint to Html.PropertyFor without luck.
In the Alloy example there are few local blocks. For example StartPage has SiteLogotype block and NewsPage has NewsList block.
Both of them are editable using dialog window.
I never saw inline local blocks editing.
Thanks, but I wanted to avoid the dialog, have proper on page editing, and reuse the same view that is used for the shared version of the block.
One solution is to have both the page and block implement an interface, but I don't really like that solution, and it limits me to just one local block of every blocktype.
I guess the best solution is to have one view for the shared block, and one view for the local block.