UmbClientMgr.contentFrame not working anymore in Umbraco 8
Hi,
We started upgrading our umbraco component (with a tree section using TreeController) to version 8. We are using the ASP.NET MVC razor views to display our pages. Previously we were able to use this code UmbClientMgr.contentFrame to redirect to another page. But unfortunately this is not working anymore.
I've been trying with angular, see below, angular is neither not working.
Thats going to be a very intensive and time consuming task to rewrite this component to angular controllers and views. It is a very big component (section).
There must be a workaround! Umbraco 7 had this file LegacyUmbClientMgr.js with this method contentFrame: function (strLocation)
What is the workaround to solve this problem in umbraco 8?
UmbClientMgr.contentFrame not working anymore in Umbraco 8
Hi, We started upgrading our umbraco component (with a tree section using
TreeController
) to version 8. We are using the ASP.NET MVC razor views to display our pages. Previously we were able to use this codeUmbClientMgr.contentFrame
to redirect to another page. But unfortunately this is not working anymore. I've been trying with angular, see below, angular is neither not working.Actually nothing is happing when using angular to redirect.
I already spent a big amount of time trying to figure this out.
Any help will be appreciated.
Regards, Sherlon
why no do it like is was intended, and create angular controllers and views for all the "pages"?
Thats going to be a very intensive and time consuming task to rewrite this component to angular controllers and views. It is a very big component (section). There must be a workaround! Umbraco 7 had this file
LegacyUmbClientMgr.js
with this methodcontentFrame: function (strLocation)
What is the workaround to solve this problem in umbraco 8?
One of the goals of v8 was to remove stuff like that :)
https://github.com/umbraco/Umbraco-CMS/commit/4f2ed545da917fe85c0783c56be466a1966ff321#diff-ef5999fb0a5a949f34977d0aa581e133
I would suggest you implementing it yourself (Should just be a wrapper for an iframe).
is working on a reply...