Hello,
I am trying to add CuteEditor.Net control dynamically to my page, before it was giving me a different error, but now I have used <form> in my page and now its giving me the following Errror, Please Advise.
"
Collection was modified; enumeration operation may not execute."
I have attached belowthe Code I am running.
<%@ 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>
<form id="Form1" runat="server" >
<div runat="server" >
<%
Dim Editor As New CuteEditor.Editor
Editor.ID = "txtEditor"
Controls.Add(Editor)
%>
</div>
</form>
</body>
</html>
Thanks
Aon