AspDotNetStorefront
Problem:
By default, admin topics not save <script> tags. The RadEditor strips them out on save.
Solution:
For version 9, update the following file: \Admin\topics.aspx.cs
…
radDescription.Content = DB.RSFieldByLocale(rs, "Description", pageLocale);
//mod start: Allow script tags in topic content.
radDescription.AllowScripts = true;
//mod end
…
For version 8, update date the following file: \RadControls\Editor\ConfigFile.xml
<property name="AllowScripts">false</property>
Change to:
<property name="AllowScripts">true</property>
We can also do it decoratively by adding the attribute to the RadEditor control ( AllowScripts="True").
ReplyDelete