ASP.NET AJAX Control Toolkit Demos v18.1.1.0

HTMLEditorExtender Custom events sample
Ajax Control Toolkit
HTMLEditorExtender Custom events demonstration

Cancel



The above example shows how to use onClientChange handler to get onChange event

The Sample is initialized with this code.

    <script>
        function onContentsChange() {
            alert('contents changed');
        }
    </script>

    <asp:TextBox runat="server"
        ID="txtBox1" 
        TextMode="MultiLine" 
        Columns="50" 
        Rows="10" 
        Text="Hello <b>world!</b>" />
    
    <ajaxToolkit:HtmlEditorExtender 
        ID="htmlEditorExtender1" 
        TargetControlID="txtBox1" 
        OnClientChange="onContentsChange" 
        runat="server" >
    </ajaxToolkit:HtmlEditorExtender>
        
Copyright © 2012-2019 CodePlex Foundation. All Rights Reserved.