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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...