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

  •  07-27-2012, 7:07 AM

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

    Hi chemist,
     
    Please try the example below 
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5.   
    6. <html xmlns="http://www.w3.org/1999/xhtml">  
    7. <head runat="server">  
    8.     <title>example</title>  
    9. </head>  
    10. <body>  
    11.     <form id="form1" runat="server">  
    12.         <CE:Editor ID="Editor1" runat="server">  
    13.         </CE:Editor>  
    14.     </form>  
    15. </body>  
    16. </html>  
    17. <script>  
    18. function CuteEditor_OnCommand(editor,command,ui,value)  
    19.  {  
    20.     if(command=="PostBack")  
    21.     {  
    22.         alert("save!");  
    23.     }  
    24. }  
    25.   
    26. </script>  
    Regards,
     
    Ken 
View Complete Thread