Hi,
I m a new user of cute editor for asp.net
I followed the instructions and its working great. Now, I wanna allow my client to paste server side code into cuteeditor.
In my aspx.cs file
<CE:Editor id="Editor1" runat="server" AllowEditServerSideCode="true" />
now, when I am inserting the following asp.net code in cuteeditor
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.IO.
Compression" %>
<%
String wurl = "
http://widgets.ziftsolutions.com/hp.ziftsolutions.com/html/8a7c9fef27160c64012717bf026e0a2b";
if (Request.QueryString.Get("zPage") != null)
wurl += "/" + Request.QueryString.Get("zPage");
HttpWebRequest Http = (HttpWebRequest)WebRequest.Create(wurl);
HttpWebResponse WebResponse = (HttpWebResponse)Http.GetResponse();
Stream responseStream = WebResponse.GetResponseStream();
StreamReader Reader = new StreamReader(responseStream, Encoding.Default);
Response.Write(Reader.ReadToEnd());
%>
I want, the resulting html of this asp.net code to be present in my file. However, this code is pasted as it is in my file...
I m retrieiving the content of cuteeditor through Editor1.text in my aspx.cs file...
Please help...