I'm try to remove some obsolete methods but I am having a issue replacing umbraco.BasePages.BasePage.Current.ClientTools.SyncTree, it is suggested that I use Umbraco.Web.UmbracoContext.Current instead but I cannot see how I can then get at the ClientTools.
I've only used the umbraco.BasePages.BasePage.Current.ClientTools so I don't know how the new one works, but perhaps having a look at the source code might help? The new methods are probably used somewhere already.
BasePage in v6
Hi All,
I'm try to remove some obsolete methods but I am having a issue replacing umbraco.BasePages.BasePage.Current.ClientTools.SyncTree, it is suggested that I use Umbraco.Web.UmbracoContext.Current instead but I cannot see how I can then get at the ClientTools.
Any ideas?
Thanks!
Jeavon
Hi,
I've only used the umbraco.BasePages.BasePage.Current.ClientTools so I don't know how the new one works, but perhaps having a look at the source code might help? The new methods are probably used somewhere already.
Jeroen
AFAIK the only other options is:
Hey Stefan,
Thanks, that works perfectly! I do wonder if there should be a easier way though, seems like it should be on the UmbracoContext somewhere.....?
Cheers,
Jeavon
is working on a reply...