C1EditorExtender save event

Originally Posted 20 May 2014, 5:00 am EST

  • Originally Posted 20 May 2014, 5:00 am EST


    I have installed the C1EditorExtender 2014 V1 (4.0.20141.160) Wijmo and have followed the 3 step tutorial on how to get it in a page and basic settings. I can't find any information on how to handle the tool bar's save button event.

    From my designer VS2010 i cannot see any editor.Text property and get an error trying to use ontextsaved as an event but i suspect these samples are old but all i could find.

  • Marked as Answer



    Sorry for the delay in replying to you. You can handle the client side "commandButtonClick" event and check if the "Save" button has been clicked. You can use the following jQuery code to get the desired results:

        <script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    var e = $("#TextBox1").wijeditor({
    commandButtonClick: function (e, cmd) {
    var cmd = cmd.commandName.toString();
    if (cmd === "save") {
    //Perform Action
    alert("Save Button Clicked");

    I hope this helps.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels