Trigger Save OnClick() event in Sitecore page editor

I am trying to trigger the save OnClick() event in the PersonalizationForm c# file so that the personalization components will be updated once the form is closed. Currently I am making the following call:

SheerResponse.Eval("$("#scRibbonButton_Save").trigger("click");");

The response I am getting is:

init {context: document, selector: "#scRibbonButton_Save"}

Any ideas on how to call the save button from code behind?

Answers:

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.