Re: How do capture the Save Click Even in VB for CuteEditor ASP.NET

  •  07-30-2012, 8:08 AM

    Re: How do capture the Save Click Even in VB for CuteEditor ASP.NET

    Hi chemist,
     
    Sorry, but I am not very clear about your problem. Whatever what configuration file you using, the "save" button will fire the function I provided. First it will fire the client side javascript funtion, then fire the server side "PostBackCommand" event. This is what the save button do.
     
    If you do not want it fire the server side event, please return true in the CuteEditor_OnCommand funtion, like
     
    <script>
    function CuteEditor_OnCommand(editor,command,ui,value)
     {
        if(command=="PostBack")
        {
            alert("save!");
            return true;
        }
    }
    </script>
     
    Regards,
     
    Ken 
View Complete Thread