Hello,
I have asked this earlier as well.
I am having problems trying to create the CuteEditor.Net control in my vb file. This is what I am trying to do in my vb code of ASP.NET page
Dim Editor1 As New CuteEditor.Editor
Editor.id = "txtProcedure"
Me.Controls.Add(Editor)
When I try to do this it give me the following error
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
Please tell me if this is the right way of adding a CuteEditor.Net control to an ASP page, I have checked the datagrid example in your example files. But that example is only assgining a variable to a already created CuteEditor.Net control on the aspx page.
What I want to do is create the control in my vb code without creating it in aspx page, just like editor.draw() function used to do in previous asp version of CuteEditor.
Please help
Thanks
Aon