Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

  •  07-20-2009, 4:10 AM

    Re: Installing CuteEditor 6.3 in Forum YetAnotherForum

    Hi RichP714 ,
     
    Steps 10
     
    10. Add the class below into the file 'ForumEditor.cs'
     

       public class CuteEditor1 : RichClassEditor, INamingContainer
            {

                CuteEditor.Editor _editor = new CuteEditor.Editor();

                public CuteEditor1()
                {
                    _editor.ID = "CE";
                    this.Controls.Add(_editor);
                }

                public override string Text
                {
                    get
                    {
                        return _editor.Text;
                    }
                    set
                    {
                        _editor.Text = value;
                    }
                }


            }

    Change to:
     

     public class CuteEditor1 : RichClassEditor, INamingContainer
        {

            CuteEditor.Editor _editor = new CuteEditor.Editor();

            public CuteEditor1()
            {
                _editor.ID = "CE";
                _editor.Width = Unit.Percentage(100);
                this.Controls.Add(_editor);
            }

            public override string Text
            {
                get
                {
                    return _editor.Text;
                }
                set
                {
                    _editor.Text = value;
                }
            }
        }

     
    Regards,
     
    Ken
View Complete Thread