Telerik newbie - RadEditor example needed

3 posts, 1 answers
  1. Bob
    Bob avatar
    15 posts
    Member since:
    Jun 2017

    Posted 12 Oct Link to this post

    Hi,

    I'm new to using Telerik controls.  I want to use the radEditor on an ASP.Net web page.  I created a SQL table named AC_ToolText and a column named Description to save the value entered on my web page.  But I can't find an example of how to interact with the SQL database.

    So I want to do the following:

    1. Allow user to enter rich text and then save to my table.

    2. If the user calls my web page, I want to fetch the value from my Description column and display in the RadEditor.

    3. The user can change or add to the text and save again if necessary.

     

    Can someone provide an example of how to do the above?  Thanks in advance.

     

  2. Answer
    Vessy
    Admin
    Vessy avatar
    1675 posts

    Posted 12 Oct Link to this post

    Hi Bob,

    RadEditor is not a data bound control and cannot be directly associated with a DataBase table. Please, refer the following forum post for more details on this matter:
    http://www.telerik.com/forums/can-t-bind-data-from-sql-to-radeditor#UFvj9W-sV02F0H5smsBy0Q

    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Bob
    Bob avatar
    15 posts
    Member since:
    Jun 2017

    Posted 13 Oct in reply to Vessy Link to this post

    Thanks.  I discovered that I could use radEditor1.content to save to my database.  I created stored procedures to do the update and another stored proc to fetch the value from my table.  It all works now.
Back to Top