plain text

4 posts, 0 answers
  1. Saso
    Saso avatar
    8 posts
    Member since:
    Oct 2013

    Posted 17 Sep 2014 Link to this post

    is it possible to switch simply between HTML and plain text look
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 19 Sep 2014 Link to this post

    Hello Saso,

    You can use the set_mode() method the Editor offers to switch modes programmatically: http://www.telerik.com/help/aspnet-ajax/editor-set-mode.html.

    This article explains how you can preset the modes the user can see and switch between: http://www.telerik.com/help/aspnet-ajax/editor-edit-modes.html.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Saso
    Saso avatar
    8 posts
    Member since:
    Oct 2013

    Posted 22 Sep 2014 in reply to Marin Bratanov Link to this post

    thx. but is it possible to strip all html tags and get only plain text value
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 23 Sep 2014 Link to this post

    Hello Saso,

    You can get it on the client via the get_text() method: http://www.telerik.com/help/aspnet-ajax/editor-get-text.html.

    You can get it on the server via the Text property of the control: http://www.telerik.com/help/aspnet-ajax/editor-getting-setting-content.html.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top