Hi Rantoun,
CuteEditor support load the file in server side directly. Please test the this example , just put a rtf file "document.rtf" into the root of your site and test the page below.
Note: For now, does not support load the "doc" file
- <%@ Page Language="VB" %>
-
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
-
- Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
- editor1.LoadRTF("~/document.rtf")
- End Sub
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>Untitled Page</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <CE:Editor ID="editor1" runat="server">
- </CE:Editor>
- </div>
- </form>
- </body>
- </html>
Regards,
Ken