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

radeditor value not being saved

2 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
diane
Top achievements
Rank 1
diane asked on 12 Aug 2016, 02:07 AM

In a vb.net 2010 web form application, I am using the radeditor. I am using the editor from a version from 6 months ago. In this application, the template values are obtained from a templates editor setup for the administrator. The Template values look like &data.eval. These values are used in the application to replace that value with html in that application. I have added a few new values to this template due to the new html I want to replace the literals with. When I step through the code in a few situations, I do not see the new literals that look like &data.eval that I just created.

Thus would you tell me what you think is wrong and what I can do to solve the problem?

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Aug 2016, 09:54 AM

Hello Diane,

I am not sure I can understand the exact issue, but from what I can gather you seem to need an HTML editor in a data bound control like a grid. To get such a scenario working, I advise that you review the following resources:

If the issue is with custom content coming from template files from the Template manager dialog, I suggest you look into the way encoding works, because the & symbol will get encoded to & which is its HTML entity. To stop this, you can disable the ConvertCharactersToEntities filter that is enabled by default: http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/managing-content/content-filters. Or, take a look at the Mail Merge code library sample project that shows another approach of replacing field values that do not include special characters: http://www.telerik.com/support/code-library/mailmerge-with-radeditor.

Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
diane
Top achievements
Rank 1
answered on 15 Aug 2016, 03:42 PM
That solved my problem. Thanks!
Tags
General Discussions
Asked by
diane
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
diane
Top achievements
Rank 1
Share this question
or