In the Content Editor, collapsing and expanding sections in the Reset Fields Values dialog box might fail with the following errors.
The error displayed in a pop-up message box:
And the error in the log records:
[Exception: Method "ToggleSection" not found in Sitecore.Shell.Applications.ContentManager.Dialogs.ResetFields.ResetFieldsForm. (method: Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)).] Sitecore.Diagnostics.Error.Raise(String error, String method) +133 Sitecore.Shell.Framework.Commands.CommandManager.GetMethodCommand(String command) +1122 Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command) +35 Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +124 Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +801 System.Web.UI.Control.PreRenderRecursiveInternal() +200 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479
Note: The issue occurs only if the ContentEditor.RenderCollapsedSections setting is overridden by configuration or individual user settings (Prefetch collapsed sections under the path Control Panel/Application Options/Content Editor) and is set to false.
To resolve the issue, for Sitecore XP 9.0.2 and earlier, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.95996/releases.
Alternatively, consider enabling prefetching of the collapsed sections:
Note: enabling prefetching of the collapsed sections may slow down the navigation between items in the Content Editor.