Hi,
What I really want to do is create a CuteEditor in vb and attach it to the page at runtime. but what is happening is that I am also creating the <form> tags at runtime as well. so CuteEditor is not registering.
My Directory Structure is
bin
CuteSoft_Client
- CuteEditor
Temp
- Default.aspx
I have attached a test code which gives me an error for "Cuteeditorclientclass is undefined". Please tell me how to fix this error
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<html xmlns="
http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<%
Dim editor As New CuteEditor.Editor
editor = Editor1
Response.Write("<form id=""form1"" runat=""server"">")
Response.Write("<div>")
editor.FilesPath = "../CuteSoft_Client/CuteEditor/"
%>
<CE:Editor ID="Editor1" runat="server">
</CE:Editor>
<%
Response.Write("</div>")
Response.Write("</form>")
%>
</body>
</html>
Thanks
Aon