Please help, I have the code running
Here is a link so you can see what happens
The editor works fine it just does not save.
This is in the form code.
<%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
< ce:editor id="Editor1" EditCompleteDocument="True" HelpUrl="default.aspx" UseRelativeLinks="False" UsePhysicalFormattingTags="True" EncodeHiddenValue="False" FullPage="True" EnableAntiSpamEmailEncoder="False" AllowEditServerSideCode="True" BreakElement="Br" ActiveTab="Code" runat="server" IEClientScriptMode="Normal" UseHTMLEntities="False" DisableAutoFormatting="True" CultureType="Server" Focus="True" ThemeType="Office2003_BlueTheme" RemoveTBODYTag="True" UseFontTags="True" UseSimpleAmpersand="True" style="z-index: 101; left: 8px; position: absolute; top: 8px"> < /ce:editor>
Here is the code behind the form.
Dim template As String
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
template = "templates\atry.htm"
Editor1.LoadText(Request.PhysicalApplicationPath + "\" + template)
Editor1.SetSecurityAllowModify(True)
End Sub
Private Sub Editor1_PostBackCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Handles Editor1.PostBackCommand
If e.CommandName = "Save" Then
Editor1.SaveFile(Request.PhysicalApplicationPath + "\" + template)
End If
End Sub