This is a migrated thread and some comments may be shown as answers.

RichTexBox as HTML / Xaml designer

1 Answer 147 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
M
Top achievements
Rank 1
M asked on 25 Sep 2012, 01:14 PM
Hi.
the problem im facing is that i try to use RadRichTextbox as a document designer. It works perfect for wordlike documents but what i need is to get WSIWG designer of HTML or XAML. I need to put comboboxes (<select> tag for html), textboxes into that document.
and this tag is just skipped during loading into RadDocument. Is there a workaround to this or maybe should i use some other controls? Thanks in advance for any ideas.

Greetings
Maciek

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 27 Sep 2012, 12:13 PM
Hi Maciek,

RadRichTextBox is a control that is able to display and edit rich-text content including formatted text arranged in pages, paragraphs, spans (runs), tables, etc. You can also put UIElements in InlineUIContainers, but they will not be exported as their analogs in HTML. You can read more about this document elements here.

When it comes to the designer functionality you have described, the editor does not preserve the initial input when you load an HTML or XAML document and when you export it, the output will be different from the content used to create the document. That is why the control is not very well-suited to be used in such a use-case, as this scenario is not in the targeted scope of the control.


Greetings,
Mihail
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
RichTextBox
Asked by
M
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or