I created a Site Template and made a related copy of it called Child Site in the CMS. I created a SynchronizationButton Data Type to synchronize default text from the Site Template to the related Child Site. When I click the button, it finds the related parent text control, gets the content and saves it to the child text control. The issue is that the click event of the synchronization button happens after the child control is instantiated with it's previous text content (not the copied content from the parent). Is there any way to refresh the CMS Panel after I save the document so that the child text content appears to the user as the text content from the parent?
Refresh CMS Panel
I created a Site Template and made a related copy of it called Child Site in the CMS. I created a SynchronizationButton Data Type to synchronize default text from the Site Template to the related Child Site. When I click the button, it finds the related parent text control, gets the content and saves it to the child text control. The issue is that the click event of the synchronization button happens after the child control is instantiated with it's previous text content (not the copied content from the parent). Is there any way to refresh the CMS Panel after I save the document so that the child text content appears to the user as the text content from the parent?
See code below:
Ok, I think I figured out a way. Comment please if there is a better.
Instead of trying to figure out how to refresh the panel, I just did a recursive Control search and found the textbox and updated the Text field.
is working on a reply...