How to append new text and keep existing as read only ?

2 posts, 0 answers
  1. ankool
    ankool avatar
    50 posts
    Member since:
    Apr 2007

    Posted 16 Mar 2010 Link to this post


    I want my editor to also behave in "AppendOnly" mode. When you save text in editor for the first time it act normally and save data. But when I load this editor, then I want to load previous text in read only format and user can only add / append text below the old text.

    In this append only mode ,the editor is not readonly but already saved text is readonly. How can I load editor with edit enabled and  editor text as read only ?

    I only want to give option to user to append more text at the bottom, they can't edit or delete previously saved text. Thus, I am looking for something similar to RichTextBox properties of SelProtectedSelStart , and SelLength in RadEditor.

    Please let me know how to achieve this.

  2. Rumen
    Rumen avatar
    13193 posts

    Posted 16 Mar 2010 Link to this post

    Hi Ankool,

    Please, note that RadEditor is DHTML web editor, but not an ActiveX control as RichTextBox.
    If you want to have non editable areas in RadEditor please, look at the following help article: Editable and Non-editable Areas.

    If you experience any problems, implement your scenario using an editable DIV element ( <div contenteditable="true" style="1px solid red;width:300px;height:300px;">sample content</div> ) as the editor. If you are able to implement a fully functional solution, we will help you integrate it into the editor and use the editor content area as a source area.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top