if changed then save.... (howto-going crazy)

2 posts, 0 answers
  1. aykut
    aykut avatar
    64 posts
    Member since:
    Oct 2007

    Posted 14 Sep 2012 Link to this post


    RadControls version 2012.2.734.35
    .NET version 3.5
    Visual Studio version 2012
    programming language vbnet
    browser support

    all browsers supported by RadControls

    my friend, I need a working sample that shows me if radeditor changed or not. I cannot simply use "if radeditor1.changed then savecontent" command. there are many possibilities and solutions of the forum. keydown event is first to control, copy paste, menu events etc. there are several solutions but nobody posted a fully functional example. I coluldn't manage combine all of them: can somebody help me please, I'm going crazy for 2 days. isnt there a simple way to learn if user changed the content of radeditor ? it cannot be so hard. I'm ready to accept that I'm an idiot but couldnt make it.

    best regards...

  2. Ozgur
    Ozgur avatar
    1 posts
    Member since:
    May 2013

    Posted 19 Jun 2013 Link to this post

    Hi Aykut,
        If you can do it on the server side, there is a TextChanged event.
    Go to properties of the radeditor, double click on TextChanged, it will create the code for you as a

    function like Editor1_TextChanged. Just fill it in with the call to save.
    Like a Data Access Layer call you have implemented, like:
    saveContent(ContentId, Editor1.Content);

      If you need client side, then I guess you need to listen for keyup events. I don't know that one.
    Which one do you need?
    Ozgur Ozturk

Back to Top