how can i get clientside textchaged event for RadEditor?

2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 14 Oct 2010 Link to this post

    We are using Telerik 2009.2.701.20 version. We have RadEditor on the screen to enter comments.
    Our requirement is that whenever user makes change in this editor, a client side flag should be set to indicate that the editor contents are updated.
    So is there any event for rad editor to achieve above functionally?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Oct 2010 Link to this post

    Hi Alangurajan,

    Try the following approach in order to fire client event on changing the text in RadEditor.

    <telerik:radeditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad">   

    <script type="text/javascript">            
            function OnClientLoad(editor, args)      
                   alert("Content changed! Current content: " + $find("<%=RadEditor1.ClientID %>").get_text()); }, 0);     

    Checkout the following forum link which discussed similar scenario.
    Text Changed Client Side Event in RadEditor

  3. DevCraft R3 2016 release webinar banner
Back to Top