Hello,
I would like to be able to load pure aspx code into the editor for minor editing and then save it back to the db.
However the aspx code is getting garbled in the editor.
my page's aspx
the code behind:
Appears like this in the editor:
I would like to be able to load pure aspx code into the editor for minor editing and then save it back to the db.
However the aspx code is getting garbled in the editor.
my page's aspx
<telerik:RadEditor ID="RadEditor1" runat="server" Width="100%" AllowScripts="true" |
Height="700px" EditModes="Html" ToolbarMode="ShowOnFocus" /> |
the code behind:
RadEditor1.Content = AspxCodeFromDB; |
Appears like this in the editor:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="FrontMasterPage" ClassName="FrontMasterPage" %> |
<%@ Register src="MasterPages/Controls/Blackberry/Footer.ascx" tagname="Footer" tagprefix="uc2" %> |
<%@ Register src="MasterPages/Controls/Blackberry/Header.ascx" tagname="Header" tagprefix="uc2" %> |
<%@ Register src="MasterPages/Controls/Cal.ascx" tagname="Cal" tagprefix="uc2" %> |
<%@ Register src="MasterPages/Controls/Blackberry/Categories.ascx" tagname="Categories" tagprefix="uc2" %> |
<%@ Register src="MasterPages/Controls/Blackberry/Search.ascx" tagname="Search" tagprefix="uc2" %> |