This is a migrated thread and some comments may be shown as answers.
Need to mimic simple textarea but with HTML formatting
2 Answers 10 Views
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 Sep 2014, 07:40 PM
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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 16 Sep 2014, 03:33 PM

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.

 
0
John
Top achievements
Rank 1
answered on 17 Sep 2014, 07:58 AM
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
Asked by
John
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
John
Top achievements
Rank 1
Share this question
or