Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This is my working code :
BasePage.Current.ClientScript.RegisterClientScriptBlock(this.GetType(), "refresh301URLTracker", "$(window).load(function(){UmbClientMgr.contentFrame('editContent.aspx?id=" + doc.Id + "');})", true);
doc.Id is your current document Id.
Current Umbraco Version : 6.2.1
Thanks.
Hello,
Are you calling this code in a custom datatype or custom section? If you're in a custom section you can let your page inherit from Umbraco.Web.UI.Pages.UmbracoEnsuredPage. Than you can do the following:
this.ClientTools.RefreshTree();
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
reload node after publish.
This is my working code :
BasePage.Current.ClientScript.RegisterClientScriptBlock(this.GetType(), "refresh301URLTracker", "$(window).load(function(){UmbClientMgr.contentFrame('editContent.aspx?id=" + doc.Id + "');})", true);
doc.Id is your current document Id.
Current Umbraco Version : 6.2.1
Thanks.
Hello,
Are you calling this code in a custom datatype or custom section? If you're in a custom section you can let your page inherit from Umbraco.Web.UI.Pages.UmbracoEnsuredPage. Than you can do the following:
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.