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

Thread is closed for posting
2 posts, 0 answers
  1. EDA24354-85A9-4A9C-814D-4B0CB7714754
    EDA24354-85A9-4A9C-814D-4B0CB7714754 avatar
    67 posts
    Member since:
    Oct 2007

    Posted 14 Sep 2012 Link to this post

    Requirements

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

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    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. 8588FCDC-AD79-4835-853D-5B162AB00B4A
    8588FCDC-AD79-4835-853D-5B162AB00B4A 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

This Code Library is part of the product documentation and subject to the respective product license agreement.