Need to mimic simple textarea but with HTML formatting

3 posts, 0 answers
  1. John
    John avatar
    3 posts
    Member since:
    May 2012

    Posted 14 Sep 2014 Link to this post

    Hi, my client requires a control which looks like a very simple textarea but which has the facility for words to be bold/coloured from the code-behind.
    I had a go at trying to remove everything except the basic text box from your editor control but I couldn't find a way to do that.

    Looks like I'm writing in one now, of course, but it's difficult to see what's going on from view source.

    I'll be very grateful if you can suggest how to do this and even more grateful if I can use one of the Telerik controls to do it.
    And I'd better say up front; sorry if I've missed something obvious.
    Thanks,
    John
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3598 posts

    Posted 16 Sep 2014 Link to this post

    Hi John,

    Here is a demo that shows how to do this: http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx.


    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. John
    John avatar
    4 posts
    Member since:
    Mar 2009

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

    Hi Marin. The demo is OK apart from the toolbar, which I don't want in a standard textarea of course.

    The trick appears to be setting ToolbarMode="Default" and removing all tools from BasicTools.xml, at least that's what's working for me so far.

    Many thanks for your help.
    John
Back to Top