Error when using renderControl to access editor

  •  05-03-2005, 2:55 AM

    Error when using renderControl to access editor

    Im trying to create a class with all my code to create a CuteEditor
    But im getting an error.

    ERROR : System.NullReferenceException: Object reference not set to an instance of an object. at CuteEditor.a.d(HtmlTextWriter A_0) at CuteEditor.a.h(HtmlTextWriter A_0) at CuteEditor.a.g(HtmlTextWriter A_0) at CuteEditor.a.i(HtmlTextWriter A_0) at CuteEditor.Editor.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at Web.CuteEditorv2.EditorCore(String& strName, Int32& intWidth, Int32& intHeight, String& strText, String& AutoStart, String[]& DWEditorTagsArray, String& CSS) in C:\Projects\Web.net\Application\Web\cl\CuteEditor.vb:line 23
     
    I would like NOT to use this
    <CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" runat="server" ></CE:Editor>

    How do i do this ?
View Complete Thread