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

font issue when parse from ms word then do post back

4 Answers 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Hoang
Top achievements
Rank 1
Hoang asked on 06 Sep 2013, 03:34 AM
I have a ms word (.doc) document and i want parce into radeditor but i found some characters incorrect.
I tried with demo verision at http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx but same error, step by step is:

1. Go to http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx and clear all content of editor
2. Copy content in my ms word document & parse into editor [attached step1.jpg]
3. Try to do post back this page by change Toolbar Mode [attached step2.jpg]
4. Then see the problem... [attached step3.jpg]

I don't know what's problem here, please help me let me know how to fix this.

Many thanks!




4 Answers, 1 is accepted

Sort by
0
Hoang
Top achievements
Rank 1
answered on 06 Sep 2013, 03:36 AM
I have a ms word (.doc) document and i want parce into radeditor but i found some characters incorrect.
I tried with demo verision at http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx but same error, step by step is:

1. Go to http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx and clear all content of editor
2. Copy content in my ms word document & parse into editor [attached step1.jpg]
3. Try to do post back this page by change Toolbar Mode [attached step2.jpg]
4. Then see the problem... [attached step3.jpg]

I don't know what's problem here, please help me let me know how to fix this.

Many thanks!

this is my ms word file: http://phuongchi.net/tuyen-dung.doc





0
Hoang
Top achievements
Rank 1
answered on 09 Sep 2013, 12:16 PM
Anybody help me, please?
0
Accepted
Ianko
Telerik team
answered on 10 Sep 2013, 03:35 PM
Hello Hoang,

You could disable the ConvertCharactersToEntities content filter, so that the special characters in the content are not being converted to entities.

This can be tested in this online demo by disabling this filter from the configuration panel and then paste the desired content.

To disable this content in the Code-behind, you could use this line of code:
RadEditor1.DisableFilter(EditorFilters.ConvertCharactersToEntities);

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Hoang
Top achievements
Rank 1
answered on 11 Sep 2013, 03:14 AM
Thank for your support, let me try it.
Tags
Editor
Asked by
Hoang
Top achievements
Rank 1
Answers by
Hoang
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or